New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bad state of multi btree database file after large inserts #40482
Comments
The database on file is left in an bad state after |
Logged In: YES This happens when you open multiple databases inside a import bsddb.db as db
file = "test.db"
dbenv=db.DBEnv()
dbenv.open(None,db.DB_CREATE|db.DB_INIT_MPOOL)
DB = db.DB(dbenv)
DB1 = db.DB(dbenv)
DB.open(file, "one", db.DB_BTREE, db.DB_CREATE)
DB1.open(file, "two", db.DB_BTREE, db.DB_CREATE)
for i in range(10000):
DB[str(i)] = "1234567890123456"
DB.sync()
DB.close()
DB1.sync()
DB1.close()
db.DB().verify(file) |
Logged In: YES As mmangino says, this is not a bug, so closing it. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: