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

트랜젝션이 상호 충돌합니다. #1128

Open
jeongjaehong opened this issue Jul 6, 2018 · 0 comments
Open

트랜젝션이 상호 충돌합니다. #1128

jeongjaehong opened this issue Jul 6, 2018 · 0 comments

Comments

@jeongjaehong
Copy link
Collaborator

  1. 트랜젝션 모드에서 에디터 창에서 특정 테이블의 자료를 수정합니다.
    update dept set dept_code = 'test' where id = 100;

  2. 에디터창에서 수정했던 자료를 직접수정 화면에서 동일하게 수정합니다.

  3. 전체화면이 masking처리(화면이 어두운 회색으로 변함)되면서 무한정 대기 상태로 들어갑니다.

1번 작업에 대한 커밋 또는 롤백을 하지 않은 상태에서 동일한 자료를 다른 창에서 작업을 하면서 교착상태에 빠지는듯 합니다.

이미 진행중인 트랜젝션을 확인하여 메시지를 띄워 주는건 어떨까요?

해당 창을 강제로 닫고 세션 브라우져에서 기존 update문장에 대한 프로세스를 kill하고 나서 해당 교착상태에서 벗어날 수 있었습니다.

두개의 에디터 창에서 트랜젝션 쿼리를 통해서 동일한 테이블의 동일한 레코드 자료를 수정하게 되는 쿼리가 실행될 경우에도 비슷하게 교착상태에 빠지면서 올챙이 자체가 먹통이 되는 상황이 발생할 수 있을듯 합니다.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant