downloaded blocks are not stored upon shutdown #9703
issue rebroad openend this issue on February 7, 2017-
rebroad commented at 7:55 am on February 7, 2017: contributorEspecially noticeable during initial block download, there can be quite a number of blocks downloaded which do not get processed (i.e. not saved) when shutdown is requested, yet activation of chain (which takes much longer) is permitted to continue.
-
laanwj commented at 11:36 am on February 7, 2017: member
yet activation of chain (which takes much longer) is permitted to continue.
That’s weird - unless this changed recently, activation of the chain is supposed to run on next start, not continue.
Shutdown is really supposed to break off things as soon as possible. So I’m not sure this should go in.
-
jonasschnelli commented at 12:52 pm on February 7, 2017: contributorIMO shutdown means shutdown. We already have issues with delayed shutdowns. In memory data that A) won’t lead to corruption when not written down – or B) can be quickly rebuilt, should be ignored/flushed if a shutdown is requested.
-
paveljanik commented at 5:19 pm on February 7, 2017: contributorThe same applies when killed. The faster the shutdown, the better. Not a bug.
-
unsystemizer commented at 5:24 pm on February 7, 2017: contributorIronically you recently also opened an issue in the opposite direction, that shutdown is too slow :-) - https://github.com/bitcoin/bitcoin/issues/9668
-
ghost commented at 6:03 pm on February 7, 2017: noneYou can add a pause button, as do the customers of online MMMO games
-
fanquake closed this on Mar 7, 2018
-
rebroad commented at 5:48 pm on March 19, 2018: contributor@paveljanik I agree, although if it just stores blocks and doesn’t try adding them to the chain then the time spent is very minimal - far less time than any of the delays mentioned in #9668
-
DrahtBot locked this on Sep 8, 2021
github-metadata-mirror
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-11-21 15:12 UTC
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-11-21 15:12 UTC
This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me
More mirrored repositories can be found on mirror.b10c.me