json-flatfile-datastore icon indicating copy to clipboard operation
json-flatfile-datastore copied to clipboard

No Timeout/Error on file inaccessibility

Open TheZooKeeper opened this issue 2 years ago • 1 comments

It looks like the package has no problem creating a new file in a directory on creation of the datastore object.

private static DataStore store = new DataStore($"{logLocation}\\{fileName}.json");

But if the modify permission is not given to that file on creation, the IDocumentCollection<Object>.InsertOne(Object) does not seem to timeout or error.

TheZooKeeper avatar Jun 14 '22 17:06 TheZooKeeper

Thanks for the bug report and sorry, that I forgot to ask more details earlier.

On which operating system the bug appeared?

ttu avatar Aug 13 '22 04:08 ttu