Currently: When the Example Docker containers are stopped and restarted without adding or resetting its data volumes, the following error appears and the container stops running:
12:55:33.443 [main] INFO org.wikidata.query.rdf.tool.Update - Starting Updater 0.3.135 (993993ebef2c4c06d98aaa24767edef029bee287) 12:55:33.803 [main] INFO o.w.q.r.t.change.ChangeSourceContext - Checking where we left off 12:55:33.803 [main] INFO o.w.query.rdf.tool.rdf.RdfRepository - Checking for left off time from the updater 12:55:33.897 [main] INFO o.w.query.rdf.tool.rdf.RdfRepository - Found left off time from the updater 12:55:33.897 [main] ERROR org.wikidata.query.rdf.tool.Update - Error during initialization. java.lang.IllegalStateException: RDF store reports the last update time is before the minimum safe poll time. You will have to reload from scratch or you might have missing data. at org.wikidata.query.rdf.tool.change.ChangeSourceContext.getStartTime(ChangeSourceContext.java:100) at org.wikidata.query.rdf.tool.Update.initialize(Update.java:144) at org.wikidata.query.rdf.tool.Update.main(Update.java:97)`
Goal: Find the root cause using the Example configuration, determine whether it is a general issue, and fix it. There have been reports of this same issue in the past in this ticket: https://phabricator.wikimedia.org/T182394. It was evidently resolved at that time but this looks to be possibly a regression.
Acceptance Criteria:
- WDQS service remains stable and data accessible / uncorrupted upon container restarts in Example
- WDQS service remains stable and data accessible / uncorrupted upon container restarts in general use
To Reproduce Issue:
Start and stop Example and start again without any data.
You should see this error appear, and the service will stop.