Skip to content

Bug in exists method? #23

@ElLeopard

Description

@ElLeopard

This code doesn't work for me unless I comment out the WaitForCompletion method.
Maybe it's a race condition, the data is not (yet) written to disk, and the exists method only checks
on disk?

BinaryRage.DB.Insert(key, document, StoreDirectory);
//BinaryRage.DB.WaitForCompletion();
bool exists = BinaryRage.DB.Exists(key, StoreDirectory);

Console.WriteLine(exists); // False!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions