You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the chain syncing issue described in #9108 occurs, lnd will not shut down gracefully until the syncing process begins progressing again, even if a shutdown signal has been triggered.
The root cause is that this line in lnd.go is blocking:
As a result, lnd will not shut down until this line has completed execution.
Regardless of what is causing the chain syncing issues, lnd should always be able to shut down. Therefore, we should modify the code so that this line is non-blocking, allowing lnd to proceed with the shutdown when a shutdown signal is triggered.
The text was updated successfully, but these errors were encountered:
ViktorTigerstrom
changed the title
[bug]: Shutdown signal has no effect in case when chain syncing issues occur
[bug]: Shutdown signal has no effect when chain syncing issues occur
Sep 16, 2024
When the chain syncing issue described in #9108 occurs,
lnd
will not shut down gracefully until the syncing process begins progressing again, even if a shutdown signal has been triggered.The root cause is that this line in
lnd.go
is blocking:lnd/lnd.go
Line 674 in edd9ade
As a result,
lnd
will not shut down until this line has completed execution.Regardless of what is causing the chain syncing issues,
lnd
should always be able to shut down. Therefore, we should modify the code so that this line is non-blocking, allowinglnd
to proceed with the shutdown when a shutdown signal is triggered.The text was updated successfully, but these errors were encountered: