[pybsddb] Where is the bug tracker? Multi-threaded len() bug

Yong Li codercoder at 10gic.net
Wed Dec 24 07:55:02 CET 2008


Where is the bug tracker?


db_env.open(db_path, bsddb.db.DB_CREATE | bsddb.db.DB_INIT_MPOOL |
bsddb.db.DB_INIT_CDB)
cache = bsddb.db.DB(db_env)
cache.open(filename='cache.db', dbname='cache',
dbtype=bsddb.db.DB_BTREE, flags=bsddb.db.DB_CREATE)
...

len(cache):
900

after adding some items in another process, len(cache) still returns
900. I think the value is being cached somewhere and not being
refreshed.



More information about the pybsddb mailing list