bookkeeper
bookkeeper copied to clipboard
Add force readonly param to RESTful API
Motivation
Allow readonly API to force bookie readonly.
Error: Errors:
Error: org.apache.bookkeeper.server.http.TestHttpService.testBookieReadOnlyState
Error: Run 1: TestHttpService.testBookieReadOnlyState:983 » NullPointer
Error: Run 2: TestHttpService.testBookieReadOnlyState:983 » NullPointer
Error: Run 3: TestHttpService.testBookieReadOnlyState:983 » NullPointer
Seems related to this change
The original API already supports setting read-only. Why is the force parameter added here?
@labuladong Please rebase the master, thanks.