<p></p>
<p><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="823696034" data-permission-text="Title is private" data-url="https://github.com/bisq-network/bisq/issues/5280" data-hovercard-type="pull_request" data-hovercard-url="/bisq-network/bisq/pull/5280/hovercard" href="https://github.com/bisq-network/bisq/pull/5280">#5280</a> was implemented to prevent the write of database files at shutdown if the app was never started fully, thus preventing a scenario when two simultaneous instances of Bisq overwrote all the database files.</p>
<p>A side effect is seen here when SPV resync is done, the preference flag <code>resyncSpvRequested</code> is not able to be cleared back to false on completion of the resync.  It says <code>PersistenceManager: Application has not completed start up yet so we do not flush data to disk</code> in the log.  The resync is started every time because the flag stays set.</p>
<p>I will submit a PR to use a semaphore file instead of preferences for controlling when an SPV resync is to be performed.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/bisq-network/bisq/issues/5335#issuecomment-810732663">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJFFTNUPFWQRPNFIGRZVV43TGKJY7ANCNFSM4ZQH7HJQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AJFFTNU2NE5IPY2W4H2GVNDTGKJY7A5CNFSM4ZQH7HJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGBJMY5Y.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/bisq-network/bisq/issues/5335#issuecomment-810732663",
"url": "https://github.com/bisq-network/bisq/issues/5335#issuecomment-810732663",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>