Rusty Russell
|
bb43e536aa
tdb_chainlock/tdb_chainunlock et. al. support.
|
16 years ago |
Rusty Russell
|
4fd7cf1dc0
Handle global_lock properly in tdb_transaction_lock/unlock.
|
16 years ago |
Rusty Russell
|
83a1386b50
Fix tracing for tdb_chainunlock.
|
16 years ago |
Rusty Russell
|
a08f09dbdc
Minor optimization: don't make a dependency between two traverse_reads.
|
16 years ago |
Rusty Russell
|
794e1a122e
Cleanup: rename is_* to starts_*, move functions together, factor out start finding code.
|
16 years ago |
Rusty Russell
|
86c41caf70
Clean up traverse keyword handling.
|
16 years ago |
Rusty Russell
|
fadb750277
Partial ordering of traverses: reduces number of deadlocks by factor of 10.
|
16 years ago |
Rusty Russell
|
fdc6fb3dc9
Fix logic bug; we weren't checking last requirement in sort_deps.
|
16 years ago |
Rusty Russell
|
68e848993d
Implement timeout for the deadlock of traverse & transactions.
|
16 years ago |
Rusty Russell
|
828331b856
Open database with TDB_NOSYNC to speed it up a little.
|
16 years ago |
Rusty Russell
|
14ec8920c5
Fix sequence logic bug, and satisfies() logic fix/cleanup.
|
16 years ago |
Rusty Russell
|
f2050233ad
Handle transactions!
|
16 years ago |
Rusty Russell
|
ee79b5191f
Fix sequence numbers when tracing transaction.
|
16 years ago |
Rusty Russell
|
b009141ce4
Insert (implied) transaction cancel on tdb_close/EOF.
|
16 years ago |
Rusty Russell
|
42145b9270
Print seq numbers on timeout dump
|
16 years ago |
Rusty Russell
|
010c8d465a
Fix early transaction unlock when traverse done inside transaction.
|
16 years ago |
Rusty Russell
|
efda07f8f8
Fix null ptr deref on TDB_TRACE with internal db.
|
16 years ago |
Rusty Russell
|
310a8c6d33
Remove trivial traverse code, simplify.
|
16 years ago |
Rusty Russell
|
d9961fc330
Fix logic bug in optimizer, and fix up DEBUG_DEPS compile.
|
16 years ago |
Rusty Russell
|
46fc04374f
More dependency optimization: seems to happen with transactions enabled.
|
16 years ago |
Rusty Russell
|
d72286e0ad
More general solution for serial number misorders.
|
16 years ago |
Rusty Russell
|
9323200469
Optimize to reduce extraneous dependencies.
|
16 years ago |
Rusty Russell
|
c693a0e25d
Belated checkin of keywords.
|
16 years ago |
Rusty Russell
|
4f148f842e
Simplify dependencies by passing pointers over the pipe: avoid O(n^2) behaviour for searching.
|
16 years ago |
Rusty Russell
|
800715227e
Slightly more sophisticated dependency generation: fixes traverse interaction.
|
16 years ago |
Rusty Russell
|
863dd63fcc
Missed part of patch.
|
16 years ago |
Rusty Russell
|
555c01c93f
Get more sophisticated with resolving duplicate serial numbers.
|
16 years ago |
Rusty Russell
|
eb2cbb4bf5
Traverses seem to work now. Also, much better reporting of deadlocks.
|
16 years ago |
Rusty Russell
|
dc251c895c
First attempt at transactions & traverse (deadlocks still).
|
16 years ago |
Rusty Russell
|
2885bab40f
Fix uninitialized var.
|
16 years ago |