Indigo
Indigo copied to clipboard
Bingo DB should not require a lock if opened read-only
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.