Skip to content

Commit ae367e6

Browse files
committed
Remove some log out for test
1 parent 3288d1a commit ae367e6

2 files changed

Lines changed: 0 additions & 16 deletions

File tree

src/backend/storage/smgr/md.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -398,10 +398,6 @@ mdunlinkfork(RelFileLocatorBackend rlocator, ForkNumber forknum, bool isRedo)
398398
int save_errno;
399399

400400
path = relpath(rlocator, forknum);
401-
402-
elog(LOG, "UNLINK RelFileLocator %u %u %u, BackendId %d, ForkNum %d",
403-
rlocator.locator.spcOid, rlocator.locator.dbOid, rlocator.locator.relNumber,
404-
rlocator.backend, forknum);
405401

406402
/*
407403
* Truncate and then unlink the first segment, or just register a request
@@ -1307,9 +1303,6 @@ register_forget_request(RelFileLocatorBackend rlocator, ForkNumber forknum,
13071303

13081304
INIT_MD_FILETAG(tag, rlocator.locator, forknum, segno);
13091305

1310-
elog(LOG, "FORGET RelFileLocator %u %u %u, BackendId %d, ForkNum %d",
1311-
rlocator.locator.spcOid, rlocator.locator.dbOid, rlocator.locator.relNumber,
1312-
rlocator.backend, forknum);
13131306
RegisterSyncRequest(&tag, SYNC_FORGET_REQUEST, true /* retryOnError */ );
13141307
}
13151308

src/backend/storage/sync/sync.c

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -551,12 +551,7 @@ RememberSyncRequest(const FileTag *ftag, SyncRequestType type)
551551
HASH_FIND,
552552
NULL);
553553
if (entry != NULL)
554-
{
555-
elog(LOG, "CANCEL RelFileLocator %u %u %u, ForkNum %d",
556-
entry->tag.rlocator.spcOid, entry->tag.rlocator.dbOid, entry->tag.rlocator.relNumber,
557-
entry->tag.forknum);
558554
entry->canceled = true;
559-
}
560555
}
561556
else if (type == SYNC_FILTER_REQUEST)
562557
{
@@ -617,10 +612,6 @@ RememberSyncRequest(const FileTag *ftag, SyncRequestType type)
617612
entry->cycle_ctr = sync_cycle_ctr;
618613
entry->canceled = false;
619614
}
620-
621-
elog(LOG, "INSERT RelFileLocator %u %u %u, ForkNum %d",
622-
entry->tag.rlocator.spcOid, entry->tag.rlocator.dbOid, entry->tag.rlocator.relNumber,
623-
entry->tag.forknum);
624615

625616
/*
626617
* NB: it's intentional that we don't change cycle_ctr if the entry

0 commit comments

Comments
 (0)