Skip to content

ReplDev: potential crash in HomeStore shutdown #726

@yuwmao

Description

@yuwmao

In homestore shutdown process, repl dev is released before statemachine(also held by logstore), and repl dev doesn't aware of the statemachine status.
In baseline resync, read_snapshot is async and might access replDev, so reading snapshot and shutdown happen simultaneously, crash may occur.

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