Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update table metadata from changes in UDB
This allows the sync command to update the metadata of existing partitions, not only new partitions. This means, if an existing partition is updated in hive, it will be detected and updated during a sync command. For this functionality, table version numbers and partition version numbers have been added. The concurrency model was also updated for these changes. It is an optimistic concurrency control model, where multiple updates can be concurrent, but only 1 will succeed in updating the metadata to the next version. pr-link: #10836 change-id: cid-6c29985d05a17081014183ca87dd83516c36656c
- Loading branch information
Showing
28 changed files
with
3,289 additions
and
865 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
166 changes: 166 additions & 0 deletions
166
core/transport/src/main/java/alluxio/grpc/table/Partition.java
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
18 changes: 18 additions & 0 deletions
18
core/transport/src/main/java/alluxio/grpc/table/PartitionOrBuilder.java
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.