We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5fa0ff commit fc041ffCopy full SHA for fc041ff
contrib/mmts/multimaster.c
@@ -317,12 +317,15 @@ void MtmReleaseLocks(void)
317
* locks[N+1..2*N] are used to synchronize access to distributed lock graph at each node
318
* -------------------------------------------
319
*/
320
+
321
+//#define DEBUG_MTM_LOCK 1
322
323
+#if DEBUG_MTM_LOCK
324
static timestamp_t MtmLockLastReportTime;
325
static timestamp_t MtmLockElapsedWaitTime;
326
static timestamp_t MtmLockMaxWaitTime;
327
static size_t MtmLockHitCount;
-
-//#define DEBUG_MTM_LOCK 1
328
+#endif
329
330
void MtmLock(LWLockMode mode)
331
{
0 commit comments