Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit f52ca07

Browse files
committed
more logs
1 parent 93e34ae commit f52ca07

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/syncpoint.c

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,9 @@ RecoveryFilterLoad(int filter_node_id, Syncpoint *spvector)
444444
filter_map = hash_create("filter", estimate_size, &hash_ctl,
445445
HASH_ELEM | HASH_BLOBS | HASH_CONTEXT);
446446

447-
mtm_log(MtmReceiverFilter, "load_filter_map from %"INT64_MODIFIER"x node_id=%d", start_lsn, filter_node_id);
447+
mtm_log(MtmReceiverStart,
448+
"load_filter_map from %"INT64_MODIFIER"x node_id=%d current_last_lsn=%"INT64_MODIFIER"x",
449+
start_lsn, filter_node_id, current_last_lsn);
448450

449451
Assert(start_lsn != InvalidXLogRecPtr);
450452
if (start_lsn == UINT64_MAX)
@@ -481,7 +483,10 @@ RecoveryFilterLoad(int filter_node_id, Syncpoint *spvector)
481483

482484
record = XLogReadRecord(xlogreader, start_lsn, &errormsg);
483485
if (record == NULL)
486+
{
487+
mtm_log(MtmReceiverFilter, "load_filter_map: got NULL from XLogReadRecord, breaking");
484488
break;
489+
}
485490

486491
/* continue reading on next iteration */
487492
start_lsn = InvalidXLogRecPtr;

0 commit comments

Comments
 (0)