-
Notifications
You must be signed in to change notification settings - Fork 82
Closed
Description
When updating to the latest release, I noticed the *.Handle()
methods were removed. It's totally reasonable to abstract these potential foot-guns. However, our project was previously using these to fetch DB statistics (via Lmdb.mdb_stats
) for DBs that were opened in a committed transaction (and then reused by later transactions). The open/reuse case is similar to this test:
public void DatabaseFromCommittedTransactionShouldBeAccessible() |
In the spirit of the recent change, I'd like to add a method to LightningTransaction
like:
public Stats GetStats(LightningDatabase db) {...}
PS: Thanks for for the updates on and active maintenance of this project
Metadata
Metadata
Assignees
Labels
No labels