Github user d2r commented on a diff in the pull request:

    https://github.com/apache/storm/pull/392#discussion_r23628156
  
    --- Diff: storm-core/src/storm.thrift ---
    @@ -243,6 +243,16 @@ struct SubmitOptions {
       2: optional Credentials creds;
     }
     
    +enum NumErrorsChoice {
    +  ALL,
    +  NONE,
    +  ONE
    +}
    +
    +struct GetInfoOptions {
    +  1: optional NumErrorsChoice num_err_choice;
    --- End diff --
    
    I should add, the current ZK storage of errors isn't very flexible.  We 
store at most 10 errors per component (hard-coded).  With only 10 errors to 
work with, I am not sure how much more flexibility we get by doing pagination.  
I guess this hard-coded limit of 10 is why I did not pursue pagination—it is 
just easier to give all 10 errors in the case that we want more than 1.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to