MCPcopy Create free account
hub / github.com/apache/impala / GetMaxKnownKeySequenceNumber

Method GetMaxKnownKeySequenceNumber

be/src/kudu/security/token_verifier.cc:53–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51}
52
53int64_t TokenVerifier::GetMaxKnownKeySequenceNumber() const {
54 shared_lock<RWMutex> l(lock_);
55 if (keys_by_seq_.empty()) {
56 return -1;
57 }
58
59 return keys_by_seq_.rbegin()->first;
60}
61
62// Import a set of public keys provided by the token signer (typically
63// running on another node).

Callers 1

HandleNegotiateMethod · 0.80

Calls 2

rbeginMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected