Closed RidaLiu closed 3 months ago
Probably the most likely explanations are that the River client is stopping or there was a bad startup error somewhere. Are there no other non-notifier logs around the ones you pasted?
Probably the most likely explanations are that the River client is stopping or there was a bad startup error somewhere. Are there no other non-notifier logs around the ones you pasted?
it seems that it's caused by the database issue? or the driver version issue ? '''"error":"error listening on topic \"river_leadership\": ERROR: could not access status of transaction 150929435 '''
This seems pretty likely to be an issue with your Postgres installation and not related to River. Here's a thread from a few years ago where somebody reports running into a similar issue when using LISTEN
.
One thing you could try is to use poll-only mode (see PollOnly
on Config
here).
Unfortunately I don't think there's anything we could do to help with this or fix it, so I'll close the issue here. Please let us know if you find any more info that suggests this is a problem with River!
This seems pretty likely to be an issue with your Postgres installation and not related to River. Here's a thread from a few years ago where somebody reports running into a similar issue when using
LISTEN
.One thing you could try is to use poll-only mode (see
PollOnly
onConfig
here).Unfortunately I don't think there's anything we could do to help with this or fix it, so I'll close the issue here. Please let us know if you find any more info that suggests this is a problem with River!
Thanks, PollOnly is helpful, it's fixed.
Hi
I'm running the service locally successfully, but when I migrate to AWS, it reports the log like ' 2024/06/10 09:11:16 INFO Notifier: Listener connecting 2024/06/10 09:11:16 INFO Notifier: Listening on topic topic=river_leadership 2024/06/10 09:11:16 INFO Notifier: Listener closing'
the log doesn't show more details, so in which case it will report this kind of issue?
my code is below, but I don't think it's caused by this func.