Darkzoneleet opened a new issue, #58917: URL: https://github.com/apache/doris/issues/58917
### Search before asking - [x] I had searched in the [issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no similar issues. ### Version doris 2.1.x ### What's Wrong? According to [official document](https://doris.apache.org/docs/2.1/sql-manual/sql-statements/transaction/SHOW-TRANSACTION), _show transaction_ command only need load priv on target database, but in [2.1 branch](https://github.com/apache/doris/blob/branch-2.1/fe/fe-core/src/main/java/org/apache/doris/analysis/ShowTransactionStmt.java) it still requires admin privilege. and according to [code pr](https://github.com/apache/doris/pull/52358) and [web pr](https://github.com/apache/doris-website/pull/2565), seems it's expected to apply on both 2.1 and 3.x, but actually only merge to 3.1 branch, and not 2.1 and 3.0 branch. ### What You Expected? Only need load priv on target database to run _show transaction_. ### How to Reproduce? Run _show transaction on <target_db>_ command. ### Anything Else? We need this command to check if insert or stream load transaction is not only committed but also **visible** in our workflow, but we should not grant admin priv to user. Any other workaround is welcome too. ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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]
