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

Method MarkSessionActive

be/src/service/impala-server.h:1531–1534  ·  view source on GitHub ↗

Increment the session's reference counter.

Source from the content-addressed store, hash-verified

1529
1530 /// Increment the session's reference counter.
1531 inline void MarkSessionActive(const std::shared_ptr<SessionState>& session) {
1532 std::lock_guard<std::mutex> l(session->lock);
1533 ++session->ref_count;
1534 }
1535
1536 /// Associate the current connection context with the given session in
1537 /// 'connection_to_sessions_map_' and 'SessionState::connections'.

Callers 1

RetryQueryFromThreadMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected