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
TransactionIdoldestXid; /* XID of oldest transaction visible by any active transaction (local or global) */
314
214
nodemask_tdisabledNodeMask; /* Bitmask of disabled nodes */
315
215
nodemask_tclique; /* Bitmask of nodes that are connected and we allowed to connect/send wal/receive wal with them */
316
216
boolrefereeGrant; /* Referee allowed us to work with half of the nodes */
317
217
intrefereeWinnerId; /* Node that won referee contest */
318
-
nodemask_tdeadNodeMask; /* Bitmask of nodes considered as dead by referee */
319
-
nodemask_trecoveredNodeMask; /* Bitmask of nodes recoverd after been reported as dead by referee */
320
218
nodemask_tstalledNodeMask; /* Bitmask of stalled nodes (node with dropped replication slot which makes it not possible automatic recovery of such node) */
321
219
nodemask_tstoppedNodeMask; /* Bitmask of stopped (permanently disabled nodes) */
322
220
nodemask_tpglogicalReceiverMask; /* bitmask of started pglogic receivers */
323
221
nodemask_tpglogicalSenderMask; /* bitmask of started pglogic senders */
324
-
nodemask_tcurrentLockNodeMask; /* Mask of nodes IDs which are locking the cluster */
325
-
nodemask_tinducedLockNodeMask; /* Mask of node IDs which requested cluster-wide lock */
326
-
nodemask_toriginLockNodeMask; /* Mask of node IDs which WAL-senders are locking the cluster.
327
-
* MtmNodeId bit is used by recovered node to complete recovery and by MtmLockCluster method */
328
-
nodemask_treconnectMask; /* Mask of nodes connection to which has to be reestablished by sender */
329
-
intlastLockHolder; /* PID of process last obtaining the node lock */
330
222
boollocalTablesHashLoaded; /* Whether data from local_tables table is loaded in shared memory hash table */
331
-
boolpreparedTransactionsLoaded; /* GIDs of prepared transactions are loaded at startup */
332
-
intinject2PCError; /* Simulate error during 2PC commit at this node */
333
-
intnLiveNodes; /* Number of active nodes */
334
-
intnAllNodes; /* Total number of nodes */
335
-
intnReceivers; /* Number of initialized logical receivers (used to determine moment when initialization/recovery is completed) */
336
-
intnSenders; /* Number of started WAL senders (used to determine moment when recovery) */
337
-
intnActiveTransactions; /* Number of active 2PC transactions */
338
-
intnRunningTransactions; /* Number of all running transactions */
339
-
intnConfigChanges; /* Number of cluster configuration changes */
223
+
intnAllNodes; /* Total number of nodes */
340
224
intrecoveryCount; /* Number of completed recoveries */
341
225
intdonorNodeId; /* Cluster node from which this node was populated */
342
-
int64timeShift; /* Local time correction */
343
-
csn_tcsn; /* Last obtained timestamp: used to provide unique ascending CSNs based on system time */
344
-
csn_tlastCsn; /* CSN of last committed transaction */
345
-
MtmTransState*votingTransactions; /* L1-list of replicated transactions notifications to coordinator.
346
-
This list is used to pass information to mtm-sender BGW */
347
-
MtmTransState*transListHead; /* L1 list of all finished transactions present in xid2state hash.
348
-
It is cleanup by MtmGetOldestXmin */
349
-
MtmTransState**transListTail; /* Tail of L1 list of all finished transactions, used to append new elements.
350
-
This list is expected to be in CSN ascending order, by strict order may be violated */
351
-
MtmL2ListactiveTransList; /* List of active transactions */
352
-
ulong64transCount; /* Counter of transactions performed by this node */
353
-
ulong64gcCount; /* Number of global transactions performed since last GC */
354
-
MtmMessageQueue*sendQueue; /* Messages to be sent by arbiter sender */
355
-
MtmMessageQueue*freeQueue; /* Free messages */
356
-
lsn_trecoveredLSN; /* LSN at the moment of recovery completion */
226
+
lsn_trecoveredLSN; /* LSN at the moment of recovery completion */
357
227
MtmNodeInfonodes[1]; /* [Mtm->nAllNodes]: per-node data */
0 commit comments