Skip to content

Ablog isn't safe for parallel reading #297

Closed

Description

@liborjelinek

Describe the bug

It looks Ablog isn't safe for parallel reading (introduced in ad5665a).

But it's safe for parallel writing (4f9ae64).

Both changes are recent (summer this year) and made by @nabobalis :-) What lead you to these changes? :-)

I've add -j auto to sphinx-build (use as many CPU cores as possible) recently and noticed Ablog doesn't detect any single post and all postlists were empty. With -j 1 (use single core, default value) Ablog works again.

It would be nice to fix it, but I am unsure about the reasons. As "workaround" I suggest change to "parallel_read_safe": False, "parallel_write_safe": True.

To Reproduce

No response

Screenshots

No response

System Details

No response

Installation method

No response

Activity

  1. nabobalis commented on Oct 29, 2024

    @nabobalis
    Member

    I just marked it safe since I thought it was.

  2. added 4 commits that reference this issue on Nov 1, 2024
    37f5028
    6622e31
    d194653
    460029a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions