2080
return "", nil
2081
}
2083
>
2084
>
return primarySetId, nil
2085
}
2086
2088
>
// If we have demoted set ids, we need to load all task queues for them because even though
2089
>
// no new tasks will be sent to them, they might have old tasks in the db.
2090
>
// Also mark them alive, so that their liveness will be roughly synchronized.
2091
>
// TODO: once we know a demoted set id has no more tasks, we can remove it from versioning data
2092
>
for _, demotedSetId := range demotedSetIds {
2093
tqm, _ := pm.getVersionedQueueNoWait(demotedSetId, "", nil, true)
2094
if tqm != nil {