Skip to content

Reconsider db check on upgrade #6917

Closed

Description

@calmh

It used to be quite quick and painless; seconds on my computer. Now up to about five minutes on my computer. Other setups are worse:

<sphalerite> Is there any way to make "Checking db due to upgrade" faster? It takes hours on my phone.

I think it's the block loading that now happens...

Activity

  1. added
    bug
    needs-triage
    on Aug 20, 2020
  2. removed
    needs-triage
    on Aug 20, 2020
  3. imsodin commented on Aug 24, 2020

    @imsodin
    Member

    I do believe it's been painfully slow even before loading blocks - checking all the global entries is terribly slow in itself. Until now there's not a single "device present in global..." panic in v1.9.0, so I am hopeful #6888 fixed that for good. Unconditionally repairing sequences feels unnecessary anyway, as when sequence problems do occur, we detect and fix those (only if necessary) both when loading the db and when sending indexes. Given weird metadata issues popping up all the time I'd keep the meta recalculation on upgrade for now. If sentry stays clean on the global issue, I'd definitely drop it for the next release.

  4. added a commit that references this issue on Sep 8, 2020
    de76a6d
  5. added a commit that references this issue on Sep 10, 2020
    08bebbe
  6. added this to the v1.10.0 milestone on Sep 10, 2020
  7. added a commit that references this issue on Sep 24, 2020
    c77cef8
  8. added
    frozen-due-to-age
    on Sep 11, 2021
  9. locked and limited conversation to collaborators on Sep 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugfrozen-due-to-age

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions