simplify broker healthcheck by following kafka guidelines (#19082)

fixes #19081
This commit is contained in:
Harshavardhana
2024-02-20 00:16:35 -08:00
committed by GitHub
parent e06168596f
commit cd419a35fe
3 changed files with 64 additions and 136 deletions

View File

@@ -20,11 +20,11 @@
package s3select
///////////////////////////////////////////////////////////////////////
// /////////////////////////////////////////////////////////////////////
//
// Validation errors.
// Validation errors.
//
///////////////////////////////////////////////////////////////////////
// /////////////////////////////////////////////////////////////////////
func errExpressionTooLong(err error) *s3Error {
return &s3Error{
code: "ExpressionTooLong",
@@ -151,11 +151,11 @@ func errUnrecognizedFormatException(err error) *s3Error {
}
}
//////////////////////////////////////////////////////////////////////////////////////
// ////////////////////////////////////////////////////////////////////////////////////
//
// SQL parsing errors.
// SQL parsing errors.
//
//////////////////////////////////////////////////////////////////////////////////////
// ////////////////////////////////////////////////////////////////////////////////////
func errLexerInvalidChar(err error) *s3Error {
return &s3Error{
code: "LexerInvalidChar",
@@ -498,11 +498,11 @@ func errParseCannotMixSqbAndWildcardInSelectList(err error) *s3Error {
}
}
//////////////////////////////////////////////////////////////////////////////////////
// ////////////////////////////////////////////////////////////////////////////////////
//
// CAST() related errors.
// CAST() related errors.
//
//////////////////////////////////////////////////////////////////////////////////////
// ////////////////////////////////////////////////////////////////////////////////////
func errCastFailed(err error) *s3Error {
return &s3Error{
code: "CastFailed",
@@ -593,11 +593,11 @@ func errEvaluatorInvalidTimestampFormatPatternSymbol(err error) *s3Error {
}
}
////////////////////////////////////////////////////////////////////////
// //////////////////////////////////////////////////////////////////////
//
// Generic S3 HTTP handler errors.
// Generic S3 HTTP handler errors.
//
////////////////////////////////////////////////////////////////////////
// //////////////////////////////////////////////////////////////////////
func errBusy(err error) *s3Error {
return &s3Error{
code: "Busy",