wecharyu commented on PR #5700: URL: https://github.com/apache/hive/pull/5700#issuecomment-2748684122
Got it, we are still running hive `3.1.2` version that does not include `LeaderElection`. Besides `countOpenTxns()` api, we also find slow query in `openTxns()`, the new index would improve it: ```sql select min(txn_id) from TXNS where txn_state='o'; ``` -- 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: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For additional commands, e-mail: gitbox-h...@hive.apache.org