Skip to content

In extreme cases, querying based on id results in empty query results. #277

@zhangziqiang1

Description

@zhangziqiang1

public Node nodeById(long id) {

public synchronized void add(Node node) {

If there are two threads, one is writing the database and the other is reading the database via id.
Then the reading thread can't observe the result of the writing thread.
@mpollmeier

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