Skip to content

Commit e0252c3

Browse files
committed
Fixed worker selection
1 parent 6b9e5db commit e0252c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

service/upgrade_manager.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ func (m *upgradeManager) StartDatabaseUpgrade(ctx context.Context) error {
369369
}
370370
// Add all syncworkers
371371
for _, p := range config.AllPeers {
372-
if p.HasSyncMaster() {
372+
if p.HasSyncWorker() {
373373
plan.Entries = append(plan.Entries, UpgradePlanEntry{
374374
Type: UpgradeEntryTypeSyncWorker,
375375
PeerID: p.ID,

0 commit comments

Comments
 (0)