jvrao opened a new issue #1195: Handle optional fields gracefully in 
ReadExplicitLac response
URL: https://github.com/apache/bookkeeper/issues/1195
 
 
   
   **BUG REPORT**
   
   1. Please describe the issue you observed:
    Handle optional fields gracefully in ReadExplicitLac response
      ExplicitLac and header of the last entry are optional fields in the 
protocol.
       Handle them as optional in the response processing
   - What did you do?
   When ledger is created and nothing is written to it, a get explicit lac
   would fail as there is no info on the bookies
   
   - What did you expect to see?
   Either lastEntry or explicitLAC should satisfy this request
   and the receiver needs to handle NULL in either of the fields. 
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to