commit | 1528d239775ae0b3f889f43ccba2b5f514980d4b | [log] [tgz] |
---|---|---|
author | Siddhartha <ssid@chromium.org> | Tue Jan 08 23:39:10 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Jan 08 23:39:10 2019 |
tree | 3890a80abedd7689308b77f963ca87c6952989bc | |
parent | 37f20e2eee078a3df931a760fdbe42bcd5f25274 [diff] |
leveldb_proto: Remove data from obsolete clients If a database is no longer useful then the client name should be added to obsolete clients list. This list exists to ensure that we do not have prefix clashes between past, current and future databases. If a feature forgets to cleanup the database, then previously we incurred only storage overhead, but with shared database we will incur memory overhead of loading all the data as well. So, this CL also adds functionality of automatically cleaning up data from obsolete databases. BUG=870813 Change-Id: I5f6039b1e8c6e04ed0a450e30564b68847cc492e Reviewed-on: https://chromium-review.googlesource.com/c/1388207 Commit-Queue: ssid <ssid@chromium.org> Reviewed-by: Tommy Nyquist <nyquist@chromium.org> Cr-Commit-Position: refs/heads/master@{#620933}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .