dengzhhu653 commented on code in PR #6159:
URL: https://github.com/apache/hive/pull/6159#discussion_r2523399445


##########
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java:
##########
@@ -344,8 +345,6 @@ private enum TXN_STATUS {
   private boolean areTxnStatsSupported = false;
   private PropertyStore propertyStore;
 
-  private static Striped<Lock> tablelocks;

Review Comment:
   Now we can depends on a shared outer lock solely, if we worry about the CPU 
overhead it brought to the database, I can add it back. 



##########
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java:
##########
@@ -344,8 +345,6 @@ private enum TXN_STATUS {
   private boolean areTxnStatsSupported = false;
   private PropertyStore propertyStore;
 
-  private static Striped<Lock> tablelocks;

Review Comment:
   Now we can depend on a shared outer lock solely, if we worry about the CPU 
overhead it brought to the database, I can add it back. 



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