epam / epam/Indigo

Bingo DB should not require a lock if opened read-only

Open
#635 0 comments 0 reactions 1 assignee Claimed by @mkviatkovskii View on GitHub
Indigo API
Dominant language
C++
Stars
406
Forks
134
Avg merge
2d 11h
Merged PRs (30d)
24

Description

I need to access a given bingo nosql db from multiple processes. The db is expected to be read-only after creation.

I'm loading the db file with `bingo.Bingo.loadDatabaseFile(indigo, path, options='read_only:true')`.

Looking at the native code here:

https://github.com/epam/Indigo/blob/6622510d992a1b232b6063998f6799f917c8f32d/api/c/bingo-nosql/src/bingo_base_index.cpp#L148

it appears the lock is requested independent of the options passed to load.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.