We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
我看到迁移过程中有个状态SLOT_STATUS_PRE_MIGRATE,但是我在程序中一直没看到过将slot设置成这个状态的地方。这样在migrate操作过程中可能会出现竞争条件,即在slot的slotInfo信息变更过程中,仍然有proxy在做set/get等操作。 route.go:583 case r := <-s.reqCh: if s.slots[r.slotIdx].slotInfo.State.Status == models.SLOT_STATUS_PRE_MIGRATE { s.bufferedReq.PushBack(r) continue } 此段程序逻辑一直不会走到。 请确认是不是有这个问题呢?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
我看到迁移过程中有个状态SLOT_STATUS_PRE_MIGRATE,但是我在程序中一直没看到过将slot设置成这个状态的地方。这样在migrate操作过程中可能会出现竞争条件,即在slot的slotInfo信息变更过程中,仍然有proxy在做set/get等操作。
route.go:583
case r := <-s.reqCh:
if s.slots[r.slotIdx].slotInfo.State.Status == models.SLOT_STATUS_PRE_MIGRATE {
s.bufferedReq.PushBack(r)
continue
}
此段程序逻辑一直不会走到。
请确认是不是有这个问题呢?
The text was updated successfully, but these errors were encountered: