You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by GitBox <gi...@apache.org> on 2021/11/22 21:27:43 UTC

[GitHub] [pinot] bowen-stripe opened a new issue #7811: /query/sql silently returns when all servers are down

bowen-stripe opened a new issue #7811:
URL: https://github.com/apache/pinot/issues/7811


   Problem Statement:
   Need a reliable way to tell if query result is valid to use when all servers are down.
   
   Repro steps:
   1. Take down all servers (I did "svc -d /etc/service/pinot-server")
   2. Execute a query via broker ("select * from MyTable limit 10" via /query/sql)
   
   Expected Results:
   HTTP response has a non-200 status code, or "exceptions" field in response content shows error message about no server available.
   
   Actual Results:
   HTTP response status code = 200
   Response:
   {"exceptions":[],"numServersQueried":0,"numServersResponded":0,"numSegmentsQueried":0,"numSegmentsProcessed":0,"numSegmentsMatched":0,"numConsumingSegmentsQueried":0,"numDocsScanned":0,"numEntriesScannedInFilter":0,"numEntriesScannedPostFilter":0,"numGroupsLimitReached":false,"totalDocs":0,"timeUsedMs":0,"offlineThreadCpuTimeNs":0,"realtimeThreadCpuTimeNs":0,"segmentStatistics":[],"traceInfo":{},"numRowsResultSet":0,"minConsumingFreshnessTimeMs":0}
   
   Questions:
   I see in this case, "resultTable" is not present and "numServersQueried" is 0. Are those the recommended way to tell is query result is valid? Or do we think some more explicit way (status code ideally?) should be implemented?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org


[GitHub] [pinot] bowen-stripe commented on issue #7811: /query/sql silently returns when all servers are down

Posted by GitBox <gi...@apache.org>.
bowen-stripe commented on issue #7811:
URL: https://github.com/apache/pinot/issues/7811#issuecomment-975995101


   Ah, that should be sufficient. Thanks!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org


[GitHub] [pinot] bowen-stripe closed issue #7811: /query/sql silently returns when all servers are down

Posted by GitBox <gi...@apache.org>.
bowen-stripe closed issue #7811:
URL: https://github.com/apache/pinot/issues/7811


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org


[GitHub] [pinot] Jackie-Jiang commented on issue #7811: /query/sql silently returns when all servers are down

Posted by GitBox <gi...@apache.org>.
Jackie-Jiang commented on issue #7811:
URL: https://github.com/apache/pinot/issues/7811#issuecomment-975948919


   This issue should be fixed by #7397 under the condition `numUnavailableSegments != 0`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org