ivandika3 commented on code in PR #6385:
URL: https://github.com/apache/ozone/pull/6385#discussion_r1595537290
##########
hadoop-hdds/common/src/main/java/org/apache/hadoop/ozone/OzoneConsts.java:
##########
@@ -343,6 +343,7 @@ private OzoneConsts() {
public static final String BUCKET_LAYOUT = "bucketLayout";
public static final String TENANT = "tenant";
public static final String USER_PREFIX = "userPrefix";
+ public static final String OVERWRITE_GENERATION = "overwriteGeneration";
Review Comment:
Agreed, and similarly for `OmKeyArgs.overwriteGeneration`. Although I
haven't taken a look deeply, I think the "generation" concept can be reused in
the future. For example, we can ensure follower read adheres to
"read-your-own-writes" consistency by passing the generation that was just
written to the follower to ensure that the value has been updated in the
follower (instead of linearizable read which has higher latency since it
requires the follower to contact the leader as well).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]