You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
v3electionpb.proto Campaign return "invalid auth token" when setcd server has been deleted token.
etcdserver/api/v3electionpb/v3electionpb.proto
rpc Campaign(CampaignRequest) returns (CampaignResponse) {
option (google.api.http) = {
post: "/v3/election/campaign"
body: "*"
};
}
Etcdserver auth enable.
Two processes(A and B) call Campaign, A is leadership, B process blocks at Campaign-->waitDeletes->waitDelete-watch.
After 5 mintues, auth token is deleted on etcdserver, A process call Resign rpc, B process watched delete event, then waitDeletes run
return err_code: 2, error: etcdserver: invalid auth token.
etcdserver.EtcdServer's kv client is not RetryKVClient, so etcdserver.EtcdServer.KV.Get doesn't
authenticate by the old token.
how to make etcdserver.EtcdServer.KV.Get whithout authenticate.
The text was updated successfully, but these errors were encountered: