yuqi1129 commented on code in PR #12350:
URL: https://github.com/apache/gravitino/pull/12350#discussion_r3765763271


##########
core/src/main/java/org/apache/gravitino/catalog/ManagedSchemaOperations.java:
##########
@@ -116,9 +117,11 @@ public Schema createSchema(NameIdentifier ident, String 
comment, Map<String, Str
                     .build())
             .build();
     try {
-      store().put(schemaEntity, true /* overwrite */);
+      store().put(schemaEntity, false /* overwrite */);

Review Comment:
   The interface is an explicit `create` operation, and we need to change it to 
false to avoid concurrent insertion of data into the database.



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

Reply via email to