Skip to content

ACID Tests. AtomicityC and AtomicityRB checks are confusing #246

@ArnauPrat

Description

@ArnauPrat

AtomicityC and AtomicityRB acid tests are a bit confusing.

The spec says:
"Tests are executed as follows: (i) load a graph of Person nodes (Listing 8.1) each
with a unique id and a set of emails; (ii) a client executes a full graph scan counting the number of nodes,
edges and emails (Listing 8.4)
using the result to initialize a counter committed; (iii) N transaction instances
(Listing 8.2, Listing 8.3) of the required test are then executed, committed is incremented for each successful
commit; (iii) repeat the full graph scan, storing the result in the variable finalState; (iv) perform the anomaly
check: committed=finalState"

The problem comes from Listing 8.4, where a Cypher query for the "check" is shown. That query does not count the number of edges as the text says.

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