-
Notifications
You must be signed in to change notification settings - Fork 8.7k
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
support protobuf feature #1007
support protobuf feature #1007
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #1007 +/- ##
=============================================
- Coverage 45.36% 35.66% -9.7%
- Complexity 1511 2156 +645
=============================================
Files 256 408 +152
Lines 10354 21931 +11577
Branches 1339 3056 +1717
=============================================
+ Hits 4697 7822 +3125
- Misses 5073 13041 +7968
- Partials 584 1068 +484
Continue to review full report at Codecov.
|
# Conflicts: # pom.xml
7363603
to
c8d677d
Compare
# Conflicts: # all/pom.xml # bom/pom.xml # core/pom.xml # core/src/main/java/io/seata/core/constants/ConfigurationKeys.java # core/src/main/java/io/seata/core/protocol/AbstractIdentifyResponse.java # core/src/main/java/io/seata/core/protocol/AbstractMessage.java # core/src/main/java/io/seata/core/protocol/MergedWarpMessage.java # core/src/main/java/io/seata/core/protocol/transaction/AbstractBranchEndRequest.java # core/src/main/java/io/seata/core/rpc/netty/MessageCodecHandler.java
I will verify the function. |
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 run the branch in local machine , the result is normal.
private static final int MAGIC_HALF = -38; | ||
private static final int NOT_FOUND_INDEX = -1; | ||
|
||
private static Configuration configuration = ConfigurationFactory.getInstance(); | ||
|
||
private static String serialize = configuration.getConfig(ConfigurationKeys.SERIALIZE_FOR_RPC); |
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.
should there be a default value that is compatible with the previous configuration file?
/** | ||
* The constant UTF8. | ||
*/ | ||
protected static final Charset UTF8 = Charset.forName("utf-8"); |
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.
unused
utf8 -> StandardCharsets.UTF_8
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.
# Conflicts: # config/seata-config-core/src/main/resources/file.conf # server/src/main/resources/file.conf # test/src/test/resources/file.conf
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.
@leizhiyuan It's my fault. I loaded SW when I started it, causing the class to be delegated. |
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.
Functional verification has passed.
Ⅰ. Describe what this PR did
Ⅱ. Does this pull request fix one issue?
Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews