-
Notifications
You must be signed in to change notification settings - Fork 3.4k
HBASE-24823 Port HBASE-22762 Print the delta between phases in the sp… #2204
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…lit/merge/compact/flush transaction journals to master branch
|
🎊 +1 overall
This message was automatically generated. |
|
Sample snapshot journal after the change: Table snapshot journal : |
| public String prettyPrintJournal() { | ||
| return StringUtils.join("\n\t", getStatusJournal()); | ||
| StringBuilder sb = new StringBuilder(); | ||
| for (int i = 0; i < journal.size(); i++) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will journal be null ever?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@liuml07 That's a good point. It would thrown an NPE and thereafter abort the master if we print the journal without enabling it. Pushed the change to have a safety check before printing the journal entries
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
makes sense. Thanks
liuml07
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
Checked original patch for HBASE-22762. This backport looks good to me
|
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
virajjasani
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
…lit/merge/compact/flush transaction journals Closes #2204 Signed-off-by: Andrew Purtell <[email protected]> Signed-off-by: Mingliang Liu <[email protected]> Signed-off-by: Viraj Jasani <[email protected]>
…lit/merge/compact/flush transaction journals Closes #2204 Signed-off-by: Andrew Purtell <[email protected]> Signed-off-by: Mingliang Liu <[email protected]> Signed-off-by: Viraj Jasani <[email protected]>
…lit/merge/compact/flush transaction journals Closes apache#2204 Signed-off-by: Andrew Purtell <[email protected]> Signed-off-by: Mingliang Liu <[email protected]> Signed-off-by: Viraj Jasani <[email protected]>
…lit/merge/compact/flush transaction journals to master branch