Login
You're viewing the techdon.dev public feed.

Replies

  • Aug 21, 2026, 8:35 AM

    @M0YNG this one is exactly the one that will make this migration longer because it locks what's getting migrated! though it should only run once every 24h so it will “only” make the migration longer by up to one hour i guess :x

    💬 1🔄 0⭐ 0
  • Aug 21, 2026, 8:48 AM

    @ClearlyClaire

    these long running processes are normal then? All start at 08:21

    REFRESH MATERIALIZED VIEW CONCURRENTLY "account_summaries"; | active | IPC | BufferIo

    CREATE MATERIALIZED VIEW "tmp_account_summaries" AS +| active | IO | DataFileRead

    REFRESH MATERIALIZED VIEW CONCURRENTLY "account_summaries"; | active | IPC | MessageQueueSend

    💬 1🔄 0⭐ 0
  • Aug 21, 2026, 8:52 AM

    @M0YNG it's weird that you have multiple `REFRESH MATERIALIZED VIEW CONCURRENTLY "account_summaries";` but otherwise yes

    the refresh materialized views are from the job, the create materialized view is from the migration

    they are all expected to be long-running (and unfortunately, to hold locks)

    💬 1🔄 0⭐ 1
  • Aug 21, 2026, 9:00 AM

    @ClearlyClaire ok, I guess I'll go leave this and hope.

    It would be super helpful if the scale of "long running" is communicated so admins have an idea of if stuff it stuck or just expectedly slow.

    There doesn't seem to be an increase in CPU, RAM, or disk activity

    For context we have just over 4k total accounts and everything is running on the same server with HDD (not SSD)

    💬 1🔄 0⭐ 0
  • Aug 21, 2026, 9:12 AM

    @M0YNG the release notes do state “Expect up to a couple hours for very large servers.”, but it's surprising that it is taking more time for you

    💬 1🔄 0⭐ 0
  • Aug 21, 2026, 9:15 AM

    @ClearlyClaire they do, but what is "very large" ? It would be nice to also have "servers with 1000 accounts should take around [time], 5000 [time]" so we have a rough understanding of the projections.

    sidekiq is still running FollowRecommendationsScheduler after 54 mins so hopefully stuff will start moving soon

    💬 1🔄 0⭐ 0
  • Aug 21, 2026, 9:19 AM

    @M0YNG “very large servers” is about the size of mastodon.social, so not your case; we cannot make such predictions because it depends on lots of parameters and we cannot test everything

    💬 1🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • Aug 21, 2026, 11:42 AM

    @M0YNG ok they don't even seem to be blocking each other, they are just reading from the database and it's very slow

    ```
    SELECT COUNT(*) FROM accounts;
    SELECT COUNT(*) FROM statuses;
    ```

    💬 1🔄 0⭐ 0
  • 💬 1🔄 0⭐ 1
  • 💬 0🔄 0⭐ 0