| 3841 | } |
| 3842 | |
| 3843 | TUniqueId ImpalaServer::RandomUniqueID() { |
| 3844 | uuid conn_uuid; |
| 3845 | { |
| 3846 | lock_guard<mutex> l(uuid_lock_); |
| 3847 | conn_uuid = crypto_uuid_generator_(); |
| 3848 | } |
| 3849 | TUniqueId conn_id; |
| 3850 | UUIDToTUniqueId(conn_uuid, &conn_id); |
| 3851 | |
| 3852 | return conn_id; |
| 3853 | } |
| 3854 | |
| 3855 | Status ImpalaServer::ScopedSessionState::WithSession(const TUniqueId& session_id, |
| 3856 | const SecretArg& secret, std::shared_ptr<SessionState>* session) { |
nothing calls this directly
no test coverage detected