DiamondLightSource / DiamondLightSource/python-murfey

Finalising all rsyncers through the instrument server seems to cause connection issues with the database

Đang mở
#530 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug web ui
Ngôn ngữ chính
Python
Star
2
Fork
1
Merge trung bình
1 ngày 10 giờ
Pull request đã merge (30 ngày)
19

Mô tả

The first error log:

`sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.

[SQL: SELECT session.id, session.name, session.visit, session.started, session.current_gain_ref, session.instrument_name
FROM session
WHERE session.id = %(id_1)s]
[parameters: {'id_1': 22}]
(Background on this error at: https://sqlalche.me/e/20/e3q8)`

occurring in `validate_instrument_server_session_token` in auth.

The rsyncer finalisatons happen outside of threads (https://github.com/DiamondLightSource/python-murfey/blob/7e412424845eda96abed07165b781f433cc6ad56/src/murfey/client/multigrid_control.py#L169) which may cause issues

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.