MCPcopy Create free account
hub / github.com/apache/cloudberry / getBackoffEntryRW

Function getBackoffEntryRW

src/backend/postmaster/backoff.c:403–409  ·  view source on GitHub ↗

* Gives write access to a backend entry. */

Source from the content-addressed store, hash-verified

401 * Gives write access to a backend entry.
402 */
403static inline BackoffBackendSharedEntry *
404getBackoffEntryRW(int index)
405{
406 Assert(Gp_role == GP_ROLE_DISPATCH || IS_SINGLENODE() || Gp_role == GP_ROLE_EXECUTE || isSweeperProcess);
407 Assert(index >= 0 && index < backoffSingleton->numEntries);
408 return &backoffSingleton->backendEntries[index];
409}
410
411
412/**

Callers 4

myBackoffSharedEntryFunction · 0.85
getBackoffEntryROFunction · 0.85
BackoffSweeperFunction · 0.85
gp_adjust_priority_intFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected