You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "chairmank (via GitHub)" <gi...@apache.org> on 2023/06/02 14:41:52 UTC

[GitHub] [arrow] chairmank opened a new issue, #35888: [Flight] Flight error status for quota exceeded

chairmank opened a new issue, #35888:
URL: https://github.com/apache/arrow/issues/35888

   ### Describe the enhancement requested
   
   I would like a Flight error status that communicates that a call was rejected because the client exceeded a usage quota. I do not see such an error status in the code or in the documentation. It is semantically distinct from the Unauthorized or Unavailable statuses. 
   
   For Flight over gRPC transport, this error status could map to the `RESOURCE_EXHAUSTED` gRPC status code (for example, see [Google APIs](https://cloud.google.com/apis/design/errors)).
   
   This other issue appears to be relevant to my feature request: https://github.com/apache/arrow/issues/34544
   
   ### Component(s)
   
   FlightRPC


-- 
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: issues-unsubscribe@arrow.apache.org.apache.org

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


Re: [I] [Flight] Flight error status for quota exceeded [arrow]

Posted by "janosik47 (via GitHub)" <gi...@apache.org>.
janosik47 commented on issue #35888:
URL: https://github.com/apache/arrow/issues/35888#issuecomment-2086915243

   Any chance to have this fixed? It feels more like a bug rather than an enhancement.
   
   Silently replacing the RESOURCE_EXHAUSTED with INVALID_ARGUMENT changes the meaning of the message send to the other party of the communication.
   One may decide not to do any retry in case of invalid argument (chances are slim that re-sending the same request will result with any other/better response) where in case of a resource/quota exceeded an exponential backup and retry is a standard practice.


-- 
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: github-unsubscribe@arrow.apache.org

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


Re: [I] [Flight] Flight error status for quota exceeded [arrow]

Posted by "lidavidm (via GitHub)" <gi...@apache.org>.
lidavidm closed issue #35888: [Flight] Flight error status for quota exceeded
URL: https://github.com/apache/arrow/issues/35888


-- 
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: issues-unsubscribe@arrow.apache.org

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


[GitHub] [arrow] lidavidm commented on issue #35888: [Flight] Flight error status for quota exceeded

Posted by "lidavidm (via GitHub)" <gi...@apache.org>.
lidavidm commented on issue #35888:
URL: https://github.com/apache/arrow/issues/35888#issuecomment-1574104225

   Yes, it might be good to just adopt the rest of the gRPC codes while we're at it...


-- 
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: github-unsubscribe@arrow.apache.org

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


Re: [I] [Flight] Flight error status for quota exceeded [arrow]

Posted by "lidavidm (via GitHub)" <gi...@apache.org>.
lidavidm commented on issue #35888:
URL: https://github.com/apache/arrow/issues/35888#issuecomment-2092379995

   Issue resolved by pull request 41508
   https://github.com/apache/arrow/pull/41508


-- 
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: github-unsubscribe@arrow.apache.org

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