-
Notifications
You must be signed in to change notification settings - Fork 31
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
edit channel names deadlock PSQLException #304
Comments
Again today as https://www.openmicroscopy.org/qa2/qa/feedback/30414/ |
setChannel OptimisticLockException: https://www.openmicroscopy.org/qa2/qa/feedback/30965/
|
Another reported at https://www.openmicroscopy.org/qa2/qa/feedback/30968/ |
@will-moore : do you have a feeling for which calls are being made (more or less) concurrently? |
Saving a bunch of channels, some of which might be linked in the same graph: |
So copying an unlinked version as recently discussed on image.sc with the well samples would be one solution? |
Again on nightshade e-mail today 9:48:
|
https://www.openmicroscopy.org/qa2/qa/feedback/31128/
|
This issue has been mentioned on Image.sc Forum. There might be relevant details there: https://forum.image.sc/t/apply-channel-names-to-all-images-in-an-omero-dataset-possible-bug/70521/4 |
This issue has been mentioned on Image.sc Forum. There might be relevant details there: https://forum.image.sc/t/apply-channel-names-to-all-images-in-an-omero-dataset-possible-bug/70521/7 |
Below is an excerpt from our omero-web.log. This refers to the problem described in the above mentioned Image.sc post. 2022-08-11 09:22:06,861 INFO [ omero.gateway] (proc.02376) close():1987 closed connection (uuid=345be5b0-d3ce-4211-ab6a-1976ccbfbaee) File "/opt/omero/web/venv36/lib/python3.6/site-packages/django/core/handlers/exception.py", line 47, in inner File "/opt/omero/web/venv36/lib/python3.6/site-packages/django/core/handlers/base.py", line 181, in _get_response File "/opt/omero/web/venv36/lib/python3.6/site-packages/django/views/decorators/http.py", line 40, in inner File "/opt/omero/web/venv36/lib/python3.6/site-packages/omeroweb/decorators.py", line 538, in wrapped File "/opt/omero/web/venv36/lib/python3.6/site-packages/omeroweb/decorators.py", line 597, in wrapper File "/opt/omero/web/venv36/lib/python3.6/site-packages/omeroweb/webclient/views.py", line 2809, in edit_channel_names File "/opt/omero/web/venv36/lib/python3.6/site-packages/omero/gateway/init.py", line 4017, in setChannelNames File "/opt/omero/web/venv36/lib/python3.6/site-packages/omero/gateway/init.py", line 4858, in call File "/opt/omero/web/venv36/lib/python3.6/site-packages/omeroweb/webclient/webclient_gateway.py", line 2109, in handle_exception File "/opt/omero/web/venv36/lib/python3.6/site-packages/omero/gateway/init.py", line 4855, in call File "/opt/omero/web/venv36/lib/python3.6/site-packages/omero_api_IUpdate_ice.py", line 154, in saveCollection omero.TryAgain: exception ::omero::TryAgain
Detail: Process 20387 waits for ShareLock on transaction 5257104; blocked by process 20277. And this is what happened in the Blitz.log at roughly the same time: 2022-08-11 10:22:06,666 WARN [ ome.services.util.ServiceHandler] (.Server-14) Deadlock exception thrown. |
This issue has been mentioned on Image.sc Forum. There might be relevant details there: https://forum.image.sc/t/apply-channel-names-to-all-images-in-an-omero-dataset-possible-bug/70521/8 |
Seen again on nightshade:
|
Following the previous exception with
That Image is different from the Image ID in the URL |
this is more likely a "derived" image and they share the logical channel. This is what happens for example when the user does a projection |
@jburel But in that case, the |
Yes sorry, so it means maybe the call is the incorrect ImageID |
Ah - the Image ID in the URL |
From e-mail today:
Also seen this:
OptimisticLockException
(Fri 18/06/2021 01:40):The text was updated successfully, but these errors were encountered: