File tree 1 file changed +4
-4
lines changed
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 (replorigin_session_origin == InvalidRepOriginId );
3818
3818
replorigin_session_origin = Mtm -> nodes [nodeId - 1 ].originId ;
3819
3819
Assert (replorigin_session_origin != InvalidRepOriginId );
@@ -3833,9 +3833,9 @@ void MtmEndSession(int nodeId, bool unlock)
3833
3833
replorigin_session_origin_lsn = INVALID_LSN ;
3834
3834
replorigin_session_origin_timestamp = 0 ;
3835
3835
replorigin_session_reset ();
3836
- if (unlock ) {
3837
- MtmUnlockNode (nodeId );
3838
- }
3836
+ // if (unlock) {
3837
+ // MtmUnlockNode(nodeId);
3838
+ // }
3839
3839
MTM_LOG3 ("%d: End reset replorigin session: %d" , MyProcPid , replorigin_session_origin );
3840
3840
}
3841
3841
}
You can’t perform that action at this time.
0 commit comments