notifyUpdatePrivilege
misses timeout deadline on etcd operation
#61184
Labels
notifyUpdatePrivilege
misses timeout deadline on etcd operation
#61184
Bug Report
Function
notifyUpdatePrivilege
inpkg/domain/domain.go
does not set timeout deadline for etcd operationPut
. The context of domain is used directly. Therefore,notifyUpdatePrivilege
can be stuck by thePut
for really long time.1. Minimal reproduce step (Required)
Any query that invokes
notifyUpdatePrivilege
.2. What did you expect to see? (Required)
row.Put(do.ctx, privilegeKey, string(data))
returnsDeadlineExceeded
.3. What did you see instead (Required)
row.Put(do.ctx, privilegeKey, string(data))
is stuck, and further blocknotifyUpdatePrivilege
endlessly.4. What is your TiDB version? (Required)
v8.5.0
The text was updated successfully, but these errors were encountered: