deniskuzZ commented on a change in pull request #2945:
URL: https://github.com/apache/hive/pull/2945#discussion_r783841367



##########
File path: 
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnHandler.java
##########
@@ -5998,7 +5998,8 @@ private void acquireTxnLock(Statement stmt, boolean 
shared) throws SQLException,
     private final Statement stmt;
     private final ResultSet rs;
     private final Semaphore derbySemaphore;
-    private final List<String> keys = new ArrayList<>();
+    private final String key1;

Review comment:
       can we define key + lastUpdateTime and initialize them in the 
constructor?




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