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

Commit 3feb2f9

Browse files
committed
Add comment about considering of reverting e6f52a7
1 parent fc6647b commit 3feb2f9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

collector.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -440,6 +440,12 @@ collector_main(Datum main_arg)
440440
LockAcquire(&tag, ExclusiveLock, false, false);
441441
collector_hdr->request = NO_REQUEST;
442442

443+
/*
444+
* XXX: it is very likely that this TRY/CATCH is useless. If any
445+
* error occurs, collector's bgworker will exit cancelling the lock.
446+
*
447+
* TODO: thus, consider reverting commit e6f52a7547a15.
448+
*/
443449
PG_TRY();
444450
{
445451
if (request == HISTORY_REQUEST || request == PROFILE_REQUEST)

0 commit comments

Comments
 (0)