#47 closed task (fixed)
Use BDB XML transactions for data integrity
Reported by: | cmlenz | Owned by: | cmlenz |
---|---|---|---|
Priority: | major | Milestone: | 0.5 |
Component: | General | Version: | 0.4 |
Keywords: | Cc: | ||
Operating System: |
Description
The BDB XML backend for report data storage doesn't make use of the transactional features provided by the underlying Berkeley DB. However, to reduce the risk of broken data integrity, it should be possible to rollback any changes to the DB when other operations (such as updating the SQLite database) fail.
Note that this still doesn't guarantee data integrity, as there are two storage backends involved in transactions (SQLite and BDB XML), and commiting to the second when the first is already commited may fail, leaving orphaned data in the first backend. This is not critical as long as changes to BDB XML are always commited last, though.
Attachments (0)
Change History (1)
comment:1 Changed 19 years ago by cmlenz
- Resolution set to fixed
- Status changed from new to closed
Implemented in [209].