File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -3813,7 +3813,7 @@ void MtmSetupReplicationHooks(struct PGLogicalHooks* hooks)
3813
3813
*/
3814
3814
void MtmBeginSession (int nodeId )
3815
3815
{
3816
- MtmLockNode (nodeId , LW_EXCLUSIVE );
3816
+ // MtmLockNode(nodeId, LW_EXCLUSIVE);
3817
3817
Assert (replorigen_session_origen == InvalidRepOriginId );
3818
3818
replorigen_session_origen = Mtm -> nodes [nodeId - 1 ].origenId ;
3819
3819
Assert (replorigen_session_origen != InvalidRepOriginId );
@@ -3833,9 +3833,9 @@ void MtmEndSession(int nodeId, bool unlock)
3833
3833
replorigen_session_origen_lsn = INVALID_LSN ;
3834
3834
replorigen_session_origen_timestamp = 0 ;
3835
3835
replorigen_session_reset ();
3836
- if (unlock ) {
3837
- MtmUnlockNode (nodeId );
3838
- }
3836
+ // if (unlock) {
3837
+ // MtmUnlockNode(nodeId);
3838
+ // }
3839
3839
MTM_LOG3 ("%d: End reset replorigen session: %d" , MyProcPid , replorigen_session_origen );
3840
3840
}
3841
3841
}
You can’t perform that action at this time.
0 commit comments