Skip to content

Mass tagging of many pages (236) fails with silent complete rollback #1268

Open

Description

@mschiff

Search first

  • I searched and no similar issues were found

What Happened?

Mass tagging fails when a large number of pages is tagged at once (here: 236). Smaller selections work fine.

I converted a page into a tag, then on the tag's page I inserted a query that lists all pages containing a page reference to this tag, excluding pages already tagged with it. I selected all resulting pages (236), chose "#" in the top bar and picked the converted tag.

What happens:

  1. The tag is visibly applied — the tag's table fills up with all selected pages.
  2. Shortly after, the table empties again — a complete rollback: none of the 236 pages keeps the tag. No data is lost, but the operation has no effect.

No errors are visible in the console; graph validation completes successfully.

Reproduce the Bug

  1. Convert a page into a tag (e.g. Project).
  2. On the tag's page, insert a query that lists all pages with a page reference to this tag, excluding pages already tagged with it.
  3. Select all resulting pages (236 in my case).
  4. Click "#" in the top bar and select the converted tag.

Actual: The tag is briefly applied (the tag's table fills), then a complete rollback occurs — the table is empty again and no page keeps the tag. No console errors; graph validation succeeds.

Note: Selecting only a subset of the pages works as expected; the failure only occurs with the full (large) selection.

Expected Behavior

All selected pages should be tagged persistently, regardless of selection size. If the operation is too large to be applied atomically, it should be applied in batches or fail with a visible error — not silently and completely roll back.

Screenshots

No response

Files

No response

Browser, Desktop or Mobile Platform Information

  • Platform: Linux Desktop
  • App version: 2.0.1-alpha+nightly.20260921

Additional Context

  • The silent rollback with no console error makes this hard to diagnose and can be mistaken for a successful operation.
  • Appears to be a scale limit: smaller selections of the same pages work; the full selection of 236 pages rolls back completely.

Are you willing to submit a PR? If you know how to fix the bug.

  • I'm willing to submit a PR (Thank you!)

Activity

  1. mschiff commented on Sep 23, 2026

    @mschiff
    Author

    Additional info: Later I noticed that not only nodes matching the filter were in the table but also every single property of a matching node was in the table in its very own row although the proprty node itself did not match.

  2. yuxi-liu-wired commented on Oct 28, 2026

    @yuxi-liu-wired

    I looked for the cause of this in current master (d06ded9971) and could not pin it down from the report alone. One question would narrow it: is this graph synced (Logseq Sync on)? If yes, paste the :rtc.log/tx-rejected entry with its :error-detail from the RTC log; if no, does it still roll back with sync off?

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions