Skip to content

Commit 1b6850d

Browse files
committed
Debug trace to understand test failure
Signed-off-by: Mark Hannum <[email protected]>
1 parent 41c1f5d commit 1b6850d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

bdb/rep.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2571,6 +2571,9 @@ static void got_new_seqnum_from_node(bdb_state_type *bdb_state,
25712571
* delay commits (the last downgrade) */
25722572
if ((!nodeup && is_drtest) ||
25732573
(downgrade_penalty && (gettimeofday_ms() - h->last_downgrade_time) <= downgrade_penalty)) {
2574+
logmsg(LOGMSG_DEBUG, "%s line %d -> incoh-wait, nodeup=%d is_drtest=%d downgrade_penalty=%d last_downgrade_time=%" PRIu64 "\n",
2575+
__func__, __LINE__, nodeup, is_drtest,
2576+
downgrade_penalty, h->last_downgrade_time);
25742577
set_coherent_state(bdb_state, hostinterned, STATE_INCOHERENT_WAIT, __func__, __LINE__);
25752578
} else {
25762579
/* dont send here under lock */

0 commit comments

Comments
 (0)