poorbarcode commented on code in PR #4640:
URL: https://github.com/apache/bookkeeper/pull/4640#discussion_r2306803410
##########
bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/BookieStatus.java:
##########
@@ -216,6 +222,15 @@ public BookieStatus parse(BufferedReader reader)
if (status.layoutVersion == 1 && parts.length == 3) {
status.bookieMode = BookieMode.valueOf(parts[1]);
status.lastUpdateTime = Long.parseLong(parts[2].trim());
+ status.isManuallyModifiedToReadOnly = true;
Review Comment:
We do not know whether the state(readOnly) was set by Admin API or Disk
Monitoring, just keep the previous behavior to avoid a break change
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]