Misc fixes for TransactionLog
- clean up all meta-data in ZK for a specific UUID when the corresponding actor is shut down
- delete tx log after migration of actor has been made and create a new one
Leave a comment
on 2011-07-19 19:07 *
By Jonas Bonér
Description changed from * allow user to choose dyna... to * clean up old entries in l...
Work remaining changed from 0.0 to 16.0
Cleaning up old entries is going to cause a lot of changes, but the Ledger is an append only structure.
So the only thing I can think of is to create a complete new ledger as soon as a snapshot is done (snapshot will be the first entry in this new ledger) and then the old ledger can be discarded. So therefor all the old entries will be discarded.
The problem is that the current design for a log stream focusses on a single log stream to be used (single ledger) and not on multiple smaller ones. So to change this, means that everyting build on top of the logging functionality needs to be changed as well -> lot of work.
So the only thing I can think of is to create a complete new ledger as soon as a snapshot is done (snapshot will be the first entry in this new ledger) and then the old ledger can be discarded. So therefor all the old entries will be discarded.
The problem is that the current design for a log stream focusses on a single log stream to be used (single ledger) and not on multiple smaller ones. So to change this, means that everyting build on top of the logging functionality needs to be changed as well -> lot of work.
on 2011-08-07 11:51 *
By pveentjer
Assigned to changed from pveentjer to viktorklang
Status changed from Accepted to Test
Reviewed
Great, thanks
Ok, can it be marked as fixed?
I've reviewed the code, if it does what it's supposed to, it can be closed.
Updating tickets (#967, #974, #975, #976, #980, #981, #989, #990, #992, #993, #994, #999, #1000, #1004, #1008, #1011, #1015, #1018, #1022, #1023, #1024, #1025, #1027, #1028, #1029, #1030, #1032, #1033, #1036, #1047, #1053, #1062, #1067, #1068, #1069, #1072, #1075, #1078, #1082, #1102, #1107, #1110, #1111, #1115, #1116, #1121, #1122, #1123, #1124)