The GitHub Actions job "CI" on kvrocks.git has succeeded.
Run started by GitHub user git-hulk (triggered by git-hulk).

Head commit for run:
e0f24bbf0f7f2a0e9019b2971883c0ba0328782e / git-hulk <hulk.webs...@gmail.com>
fix(replication): didn't resume the db status after restarting full sync

Currently, the `pre_fullsync_cb` will stop the task runner and set the
db loading status to yes, but it didn't resume those states. And will
cause the server running in restoring status until success to resync
from master. To fix this, we need to call the `post_fullsync_cb` to
resume those status before restarting full sync.

This PR also uses try_lock to allow to stop the replication thread while
preparing the restore db.

Report URL: https://github.com/apache/kvrocks/actions/runs/10969712858

With regards,
GitHub Actions via GitBox

Reply via email to