-
Notifications
You must be signed in to change notification settings - Fork 8.8k
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
UndoLogParser change to SPI. #1099
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #1099 +/- ##
=============================================
- Coverage 41.84% 41.83% -0.01%
Complexity 1361 1361
=============================================
Files 243 243
Lines 10111 10113 +2
Branches 1319 1319
=============================================
Hits 4231 4231
- Misses 5334 5335 +1
- Partials 546 547 +1
Continue to review full report at Codecov.
|
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.
i left some comments.
*/ | ||
public class UndoLogParserFactory { | ||
|
||
private static class SingletonHolder { | ||
private static final UndoLogParser INSTANCE = new JSONBasedUndoLogParser(); | ||
private static UndoLogParser INSTANCE; |
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.
maybe there should use final?
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.
Ok, I' will modify it.
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.
@xingfudeshi done.
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.
LGTM.
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
Ⅰ. Describe what this PR did
UndoLogParser
change to SPI mode and makefastjson
as default implement.transaction.undo.log.serialization
Ⅱ. Does this pull request fix one issue?
Fix #1010