Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

some commands throws info with END_TRANSACTION_AN in irods logs #38

Open
mstfdkmn opened this issue Jul 15, 2024 · 3 comments
Open

some commands throws info with END_TRANSACTION_AN in irods logs #38

mstfdkmn opened this issue Jul 15, 2024 · 3 comments
Assignees
Labels
enhancement New feature or request wontfix This will not be worked on

Comments

@mstfdkmn
Copy link

Hi, some commands like ./gocmd cat, ./gocmd ls and ./gocmd svrinfo throws the following message in irods logs.

{"processname": "irods", "groupname": "irods", "pid": "127", "channel": "stdout", "irods": {"log_category": "legacy", "log_level": "info", "log_message": "rsApiHandler: User has no permission for apiNumber 718", "request_api_name": "END_TRANSACTION_AN", "request_api_number": 718, "request_api_version": "d", "request_client_user": "mustafa", "request_host": "10.0.2.100", "request_proxy_user": "mustafa", "request_release_version": "rods4.3.0", "server_host": "dev-u0137480.irods.t.icts.kuleuven.be", "server_pid": 8699, "server_timestamp": "2024-07-15T15:14:30.296Z", "server_type": "agent", "server_zone": "u0137480"}}

It looks like something with the irods server but I see this only with the mentioned sub commands in the gocommands client. Hence I wanted to let you know about this. Thanks.

@iychoi
Copy link
Member

iychoi commented Jul 15, 2024

The END_TRANSACTION_AN is called after any data access api calls. The call is to commit/rollback transactions so that other connections see the changes just made so make concurrent operations available.
If the user does not have permission to execute END_TRANSACTION_AN, it will simply fail and will not retry during the process.

Did this make any issues with your system? Just want to hear if this feature causes any issues (including security).

@mstfdkmn
Copy link
Author

Thanks for explaining it. No, as far as I have experienced I haven't seen any issue with this except seeing the mentioned message in logs. I was wondering why this output in the irods logs triggered by only the gocommands. Also I noticed something after your explanation that I don't see that message when said commands executed by a rodsadmin account.

@iychoi
Copy link
Member

iychoi commented Jul 17, 2024

I'll keep this issue opened and revisit later to see if there is a way to not using the END_TRANSACTION_AN for read-only requests.

@iychoi iychoi self-assigned this Jul 17, 2024
@iychoi iychoi added the enhancement New feature or request label Jul 17, 2024
@iychoi iychoi added the wontfix This will not be worked on label Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants