Skip to content

revisit locking strategy in local runner #639

Description

@yaythomas

the extra _state_lock is actually not necessary, and if anything we could/should probably remove it from get_navigable and friends, reason being the recent lane-based re-architecture isolated an execution into its own lane that serializes Checkpoint writes that run as CheckpointTask on that same lane, so the read and write cannot overlap.

however, that's wider refactor beyond the scope fo this PR, and since the lock is harmless and for the sake of symmetry might as well let it stand as introduced here and then revisit clean-up opportunities for redundant locks throughout later.

Originally posted by @yaythomas in #637 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    pkg:testingPackage: aws-durable-execution-sdk-python-testing

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions