kerneltime commented on code in PR #7185:
URL: https://github.com/apache/ozone/pull/7185#discussion_r1811166517


##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/protocolPB/OzoneManagerProtocolServerSideTranslatorPB.java:
##########
@@ -305,6 +317,9 @@ private OMResponse submitRequestDirectlyToOM(OMRequest 
request) {
           OMAuditLogger.log(omClientRequest.getAuditBuilder());
           throw ex;
         }
+        if (ozoneManager.isLeaderExecutorEnabled()) {

Review Comment:
   Would this mean that for v2 processing, single-mode OM will not be 
supported? If so, we should add a log here.



##########
hadoop-ozone/interface-client/src/main/proto/OmClientProtocol.proto:
##########
@@ -2258,7 +2262,21 @@ message OMLockDetailsProto {
   optional uint64 readLockNanos    = 3;
   optional uint64 writeLockNanos   = 4;
 }
-
+message PersistDbRequest {
+    repeated DBTableUpdate tableUpdates = 1;
+    repeated int64 index = 2;
+    repeated BucketQuotaCount bucketQuotaCount = 3;
+}
+message DBTableUpdate {
+    required string tableName = 1;
+    repeated DBTableRecord records = 2;
+}
+message DBTableRecord {
+    required bytes key = 1;
+    optional bytes value = 2;

Review Comment:
   We need if this is put or delete.



-- 
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]

Reply via email to