wenbingshen opened a new pull request, #3833: URL: https://github.com/apache/bookkeeper/pull/3833
### Motivation LedgerFragment adds the state of replicateType, but it has not been added to the toString method. I think the replicateType should be added to the toString method to track the state of LF and troubleshoot problems. ### Changes LedgerFragment is generally in `DATA_LOSS` or `DATA_NOT_ADHERING_PLACEMENT` state. But it shouldn't have status when it's in detection progress or used elsewhere, so I added `NULL` status. The following log shows the result: replicating DATA_LOSS LedgerFragment  replicating DATA_NOT_ADHERING_PLACEMENT LedgerFragment  checking LedgerFragment in NULL type  -- 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]
