Skip to content
This repository was archived by the owner on Apr 26, 2020. It is now read-only.
This repository was archived by the owner on Apr 26, 2020. It is now read-only.

[BUG] Local timeline index is broken due to showing replies & boosts #22

@PeterCxy

Description

@PeterCxy

in mastodon#11648 a new index was introduced for local timeline to fix slow local timeline query reported in mastodon#11643, but on this fork the index was invalidated because we do not have reblog_of_id IS NULL AND ((NOT reply) OR (in_reply_to_account_id = account_id)) part in the query.

On my instance the local timeline stopped working due to exactly this issue. Please consider removing the extraneous part of the index condition (in db/schema.rb and db/migrate/20190823221802_add_local_index_to_statuses.rb) so local timelines work fine. Here is a commit by someone that seem to fix this exact problem AstroProfundis@9a07b50

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions