sijie commented on a change in pull request #266: Issue 265: Add persistable
bookie status
URL: https://github.com/apache/bookkeeper/pull/266#discussion_r128891093
##########
File path:
bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/Bookie.java
##########
@@ -748,7 +751,13 @@ public Number getDefaultValue() {
@Override
public Number getSample() {
- return zkRegistered.get() ? (readOnly.get() ? 0 : 1) : -1;
+ if(!zkRegistered.get()){
Review comment:
done
----------------------------------------------------------------
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