Skip to content

Commit

Permalink
aggregate-tally: Stop deleting old database path
Browse files Browse the repository at this point in the history
This (effectively) reverts commit
a013002. It's been more than 2 years.

https://phabricator.endlessm.com/T35331
  • Loading branch information
wjt committed Apr 19, 2024
1 parent d982bd5 commit fb59b76
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions daemon/emer-aggregate-tally.c
Original file line number Diff line number Diff line change
Expand Up @@ -379,15 +379,6 @@ emer_aggregate_tally_initable_init (GInitable *initable,
if (!self->read_only)
ensure_folder_exists (self, self->persistent_cache_directory, NULL);

/* No daemon version that used this path made it into a production release,
* or even beta. So rather than migrating the data for the schema & filename
* change, just delete it (and ignore errors).
*/
old_path = g_build_filename (self->persistent_cache_directory,
"aggregate-events.db",
NULL);
emer_aggregate_tally_delete_db (self, old_path);

path = g_build_filename (self->persistent_cache_directory,
"metrics.db",
NULL);
Expand Down

0 comments on commit fb59b76

Please sign in to comment.