mirror of
https://github.com/deepseek-ai/3FS
synced 2025-06-26 18:16:45 +00:00
fix OfflineTargetReq.targetId in ResyncWorker (#231)
Some checks failed
Build / build (push) Has been cancelled
Some checks failed
Build / build (push) Has been cancelled
The targetId should be successor's targetId, because the OfflineTargetReq is sent to successor.
This commit is contained in:
parent
fe4b26a64f
commit
ee9a5cee0a
@ -279,7 +279,7 @@ CoTryTask<void> ResyncWorker::handleSync(VersionedChainId vChainId) {
|
||||
XLOG(CRITICAL, msg);
|
||||
|
||||
OfflineTargetReq req;
|
||||
req.targetId = targetId;
|
||||
req.targetId = target->successor->targetInfo.targetId;
|
||||
req.force = true;
|
||||
CO_RETURN_AND_LOG_ON_ERROR(co_await components_.messenger.offlineTarget(*addrResult, req, &options));
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user