Commit Graph

27 Commits (59e2d2694deec13aaa0062e04b5460f978967dc1)

Author SHA1 Message Date
Amber Brown 7efd1d87c2 Run black on the rest of the storage module (#4996) 7 years ago
Amber Brown 49af402019 run isort 8 years ago
Richard van der Hoff 29ed09e80a Fix assertion to stop transaction queue getting wedged 9 years ago
Mark Haines ceb599e789 Add tests for redactions 10 years ago
Mark Haines 9bc5b4c663 Assert that the step != 0 10 years ago
Mark Haines 35b5c4ba1b use google style doc strings 10 years ago
Mark Haines a2866e2e6a Rename direction to step, apply checks consistently 10 years ago
Mark Haines e36bfbab38 Use a stream id generator for backfilled ids 10 years ago
Mark Haines b6e8420aee Add replication stream for pushers 10 years ago
Erik Johnston 158a322e82 Ensure integer is an integer 10 years ago
Mark Haines a1cf9e3bf3 Add a stream for push rule updates 10 years ago
Mark Haines 54172924c8 Load the current id in the IdGenerator constructor 10 years ago
Erik Johnston 42109a62a4 Remove unused param from get_max_token 10 years ago
Erik Johnston e5999bfb1a Initial cut 10 years ago
Erik Johnston 87f9477b10 Add a Homeserver.setup method. 10 years ago
Matthew Hodgson 6c28ac260c copyrights 10 years ago
Erik Johnston c67ba143fa Move DictionaryCache 11 years ago
Erik Johnston e7768e77f5 Add basic dictionary cache 11 years ago
Erik Johnston 80a61330ee Add basic storage functions for handling of receipts 11 years ago
Erik Johnston 5130d80d79 Add bulk insert events API 11 years ago
Mark Haines 5002056b16 SYN-377: Make sure that the StreamIdGenerator.get_next.__exit__ is called from the main thread after the transaction completes, not from database thread before the transaction completes. 11 years ago
Erik Johnston 0ade2712d1 Typo 11 years ago
Erik Johnston 50f96f256f Also remove yield from within lock in the other generator 11 years ago
Erik Johnston d2d61a8288 Fix deadlock in id_generators. No idea why this was an actual deadlock. 11 years ago
Erik Johnston 8558e1ec73 Make get_max_token into inlineCallbacks so that the lock works. 11 years ago
Erik Johnston a971fa9d58 Use try..finally in contextlib.contextmanager 11 years ago
Erik Johnston 3c741682e5 Correctly increment the _next_id initially 11 years ago
Erik Johnston 8ad0f4912e
Stream ordering and out of order insertions. 11 years ago