Improved initialization logic for leveldb_proto
When a leveldb_proto database is requested we try to open both the unique and shared databases, when only one of those opened we used to return that database, regardless of whether we should, this CL incorporates the init and migration status to that logic to avoid returning a database with stale data Bug: 870813 Change-Id: Ide70a7d8c861f017fd55ae5faa53f5f73369f228 Reviewed-on: https://chromium-review.googlesource.com/c/1471378 Commit-Queue: Salvador Guerrero <salg@google.com> Reviewed-by:ssid <ssid@chromium.org> Reviewed-by:
Tommy Nyquist <nyquist@chromium.org> Cr-Commit-Position: refs/heads/master@{#633792}
Showing
This diff is collapsed.
Please register or sign in to comment