-
Notifications
You must be signed in to change notification settings - Fork 587
HDDS-10180. update proto.lock for Ozone 1.4.0 #6044
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
|
Thanks @symious for the patch. The compatibility check reports some errors: caused by changes introduced in #5579: @@ -1891,15 +1892,16 @@ message SnapshotMoveKeyInfos {
message SnapshotPurgeRequest {
repeated string snapshotDBKeys = 1;
- repeated string updatedSnapshotDBKey = 2;
}
message SetSnapshotPropertyRequest {
- optional SnapshotProperty snapshotProperty = 1;
+ optional string snapshotKey = 1;
+ optional SnapshotSize snapshotSize = 2;
+ optional bool deepCleanedDeletedDir = 3;
+ optional bool deepCleanedDeletedKey = 4;
}
-message SnapshotProperty {
- optional string snapshotKey = 1;
+message SnapshotSize {
optional uint64 exclusiveSize = 2;
optional uint64 exclusiveReplicatedSize = 3;
}If I understand correctly, build for that PR would have failed if the I'll submit a PR to revert #5579, then we can revisit this one. |
|
Need to wait until #5579 is merged. |
|
@ChenSammi @errose28 This is ready for review. |
errose28
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.
Shouldn't there be changes to hadoop-hdds/interface-client/src/main/resources/proto.lock in this change as well? Git shows changes to protos in that module since the last release.
$ git log --pretty=reference ./hadoop-hdds/interface-client/src/main/proto | head -n10
0e07225dbd (HDDS-9807. Consider volume committed space when checking if datanode can host new container (#5721), 2023-12-20)
4788798724 (HDDS-7601. Added new columnFamily: compactionLogTable to store compaction entries (#5303), 2023-09-18)
a83668c0f6 (HDDS-7831. Use symmetric secret key to sign and verify token (#4417), 2023-04-05)
1afb6fa79b (HDDS-7098. Provide a way for admin to identify all unhealthy container replicas (#4443), 2023-05-22)
3f5a80783a (HDDS-7853. Add support for RemoveSCM in SCMRatisServer. (#4358), 2023-03-23)
4a43f343ad (HDDS-8168. Make deadlines inside MoveManager for move commands configurable (#4415), 2023-03-22)
50e57f9af5 (HDDS-7137. Add CLI for Getting the failed deleted block txn (#3691), 2023-03-06)
3d648466ed (HDDS-8032. SCM support reconfigurable dynamically (#4318), 2023-03-02)
469c034423 (HDDS-7687. Support OM transfer Ratis leadership (#4265), 2023-02-14)
2250a481d6 (HDDS-7799. Add container count to datanode usage info (#4209), 2023-02-08)
There is an error for updating the lock for this directory: |
|
Thanks a lot @errose28 for spotting the missing change. Since this PR just picks the change from Ozone 1.4.0 (9090d52), the release also has incomplete It complains about a change made in 4136d47868e. This is not a recent change, first went into 1.1.0. Same/similar problem for previous releases: It turns out to be a new compatibility check added in nilslice/protolock@01572fa recently. Works fine with the previous release: Similar problem applies to I suggest:
|
|
Let's create new PR from fork after #6074 is merged. |
What changes were proposed in this pull request?
Add proto.lock files from ozone-1.4 release branch to master/
These files are checked as part of the build to prevent protobuf incompatabilities.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-10180
How was this patch tested?
No tests.