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
structMtmTransState*next;/* Next element in L1 list of all finished transaction present in xid2state hash */
250
250
MtmL2ListactiveList;/* L2-list of active transactions */
251
251
boolvotingCompleted;/* 2PC voting is completed */
252
-
boolisLocal;/* Transaction is either replicated, either doesn't contain DML statements, so itshoudl be ignored by pglogical replication */
252
+
boolisLocal;/* Transaction is either replicated, either doesn't contain DML statements, so itshould be ignored by pglogical replication */
253
253
boolisEnqueued;/* Transaction is inserted in queue */
254
254
boolisPrepared;/* Transaction is prepared: now it is safe to commit transaction */
255
255
boolisActive;/* Transaction is active */
256
256
boolisTwoPhase;/* User level 2PC */
257
-
boolisPinned;/* Transaction oidpotected from GC */
257
+
boolisPinned;/* Transaction oidprotected from GC */
258
258
intnConfigChanges;/* Number of cluster configuration changes at moment of transaction start */
259
259
nodemask_tparticipantsMask;/* Mask of nodes involved in transaction */
260
260
nodemask_tvotedMask;/* Mask of voted nodes */
@@ -277,38 +277,38 @@ typedef struct
277
277
LWLockPadded*locks;/* multimaster lock tranche */
278
278
TransactionIdoldestXid;/* XID of oldest transaction visible by any active transaction (local or global) */
279
279
nodemask_tdisabledNodeMask;/* bitmask of disabled nodes */
280
-
nodemask_tstalledNodeMask;/* bitmask of stalled nodes (node with droppedrelication slot which makes it not possible automatic recovery of such node) */
280
+
nodemask_tstalledNodeMask;/* bitmask of stalled nodes (node with droppedreplication slot which makes it not possible automatic recovery of such node) */
281
281
nodemask_tstoppedNodeMask;/* Bitmask of stopped (permanently disabled nodes) */
282
282
nodemask_tpglogicalReceiverMask;/* bitmask of started pglogic receivers */
283
283
nodemask_tpglogicalSenderMask;/* bitmask of started pglogic senders */
284
284
nodemask_twalSenderLockerMask;/* Mask of WAL-senders IDs locking the cluster */
285
285
nodemask_tglobalLockerMask;/* Global cluster mask of locked nodes to perform caught-up (updated using heartbeats) */
286
286
nodemask_tnodeLockerMask;/* Mask of node IDs which WAL-senders are locking the cluster */
287
287
nodemask_treconnectMask;/* Mask of nodes connection to which has to be reestablished by sender */
288
-
intlastLockHolder;/* PID of process lastobtaning the node lock */
288
+
intlastLockHolder;/* PID of process lastobtaining the node lock */
289
289
boollocalTablesHashLoaded;/* Whether data from local_tables table is loaded in shared memory hash table */
290
290
boolpreparedTransactionsLoaded;/* GIDs of prepared transactions are loaded at startup */
291
291
intinject2PCError;/* Simulate error during 2PC commit at this node */
292
292
intnLiveNodes;/* Number of active nodes */
293
-
intnAllNodes;/* Totalnumbber of nodes */
294
-
intnReceivers;/* Number of initialized logical receivers (used to determine moment whenintialization/recovery is completed) */
293
+
intnAllNodes;/* Totalnumber of nodes */
294
+
intnReceivers;/* Number of initialized logical receivers (used to determine moment wheninitialization/recovery is completed) */
295
295
intnSenders;/* Number of started WAL senders (used to determine moment when recovery) */
296
296
intnLockers;/* Number of lockers */
297
-
intnActiveTransactions;/*Nunmber of active 2PC transactions */
297
+
intnActiveTransactions;/*Number of active 2PC transactions */
298
298
intnConfigChanges;/* Number of cluster configuration changes */
299
299
intrecoveryCount;/* Number of completed recoveries */
300
300
intdonorNodeId;/* Cluster node from which this node was populated */
301
301
int64timeShift;/* Local time correction */
302
-
csn_tcsn;/* Last obtained timestamp: used to provide uniqueacending CSNs based on system time */
302
+
csn_tcsn;/* Last obtained timestamp: used to provide uniqueascending CSNs based on system time */
303
303
csn_tlastCsn;/* CSN of last committed transaction */
304
-
MtmTransState*votingTransactions;/* L1-list of replicated transactionssendingsnotifications to coordinator.
304
+
MtmTransState*votingTransactions;/* L1-list of replicated transactions notifications to coordinator.
305
305
This list is used to pass information to mtm-sender BGW */
306
306
MtmTransState*transListHead;/* L1 list of all finished transactions present in xid2state hash.
307
307
It is cleanup by MtmGetOldestXmin */
308
-
MtmTransState**transListTail;/* Tail of L1 list of all finishedtransactionds, used to append new elements.
308
+
MtmTransState**transListTail;/* Tail of L1 list of all finishedtransactions, used to append new elements.
309
309
This list is expected to be in CSN ascending order, by strict order may be violated */
310
310
MtmL2ListactiveTransList;/* List of active transactions */
311
-
ulong64transCount;/* Counter of transactionsperfromed by this node */
311
+
ulong64transCount;/* Counter of transactionsperformed by this node */
312
312
ulong64gcCount;/* Number of global transactions performed since last GC */
313
313
MtmMessageQueue*sendQueue;/* Messages to be sent by arbiter sender */