deniskuzZ commented on code in PR #5902:
URL: https://github.com/apache/hive/pull/5902#discussion_r2194411128
##########
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnHandler.java:
##########
@@ -657,6 +658,21 @@ public void
replTableWriteIdState(ReplTblWriteIdStateRequest rqst) throws MetaEx
new ReplTableWriteIdStateFunction(rqst, mutexAPI,
transactionalListeners).execute(jdbcResource);
}
+ /**
+ *
+ * @param replPolicy replication policy for which we want to get the
replayed transactions
+ * @return Map of source and target transaction ids for the given
replication policy.
+ */
+ @Override
+ public ReplayedTxnsForPolicyResult getReplayedTxnsForPolicy(String
replPolicy) {
+ try {
+ return jdbcResource.execute(new
GetReplayedTxnsForPolicyHandler(replPolicy));
Review Comment:
should it be retriable?
````
sqlRetryHandler.executeWithRetry(
````
--
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]