Skip to content

Pin read version before cache warms in AgilityContextTest.testReadOnlyHasCallerGrv #4340

Description

@ScottDugas

Reference Commits: bf07d498e
Files (primary):
fdb-record-layer-core/src/test/.../AgilityContextTest.java

The test asserted that a read-only transaction inherited the caller's GRV, but under parallel execution the directory-layer cache would warm between the outer getReadVersion() and the assertion, changing the GRV underneath the test.

Pin the read version explicitly before the first cache-warming call.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions