Closed river7816 closed 9 months ago
Hi @river7816 thank you for your report. We recently introduced a warning if the same LMDB database is opened twice from two separate Arctic
instances. See #1000 .
Please could you post a fully reproducible snippet if you think that you are only opening the database once and the error is incorrect? e.g. what does load_list_from_pickle
do?
@river7816, as @joe-iddon said, you shouldn't get this error if you open only one connection to an LMDB database. I have tried to reproduce the bug using the provided code (except the last two lines as I don't have access to the pickle files). But the warning did not trigger as only one connection to the LMDB is opened.
The warning would trigger if you open connection/s to LMDB from your load_list_from_pickle
function using a new Arctic
instance. Please provide full code for reproducing the bug.
Describe the bug
I use nohup to run the python file
and get
Steps/Code to Reproduce
Expected Results
No warning is thrown
OS, Python Version and ArcticDB Version
Python: 3.10.12 | packaged by conda-forge | (main, Jun 23 2023, 22:40:32) [GCC 12.3.0] OS: Linux-6.2.0-34-generic-x86_64-with-glibc2.35 ArcticDB: 4.1.0
Backend storage used
LMDB
Additional Context
No response