Skip to content

Sync client can crash if a session is resumed before UNBIND message finishes sending #7860

@sync-by-unito

Description

@sync-by-unito

When a session is suspended it starts to send an UNBIND message to tell the server the session is over. If the session is resumed before that UNBIND message finishes sending, then any commit to the database can fail an assertion in Session::recognize_sync_version() which expects either the session to be suspended or for the unbind message to not have been sent. Once the unbind message finishes sending, it will take care of restarting the session.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions