Commit Graph

13 Commits

Author SHA1 Message Date
dcorbacho 9b3b5d48ec Run most stream tests in parallel
The test suite isn't faster, I guess some contention on the coordinator,
but is finding some bugs.
2021-03-17 21:32:42 +01:00
kjnilsson cbf0107605 Stream coordinator bug fix
Fix issue where a deleted replica could be restarted if the leader went
down whilst the replica was still running it's start phase.
2021-03-17 13:54:28 +00:00
kjnilsson 1709208105 Throw resource error when no local stream member
As well as some additional tests
2021-03-12 15:04:40 +00:00
dcorbacho e19aca8075 Use right map fields to compute streams info 2021-03-12 15:04:40 +00:00
kjnilsson 7fa3f6b6e1 Stream Coordinator: primitive backoff
Sleep for 5s after a failure due to a node being down before reporting
back to stream coordinator (which will immediately retry).

stream coordinator: correct command type spec

tidy up

fix rabbit_fifo_prop tests

stream coord: add function for member state query
2021-03-12 15:03:47 +00:00
kjnilsson 9fb2e6d2dd Stream Coordinator refactor 2021-03-12 15:03:08 +00:00
Michael Klishin 52479099ec
Bump (c) year 2021-01-22 09:00:14 +03:00
kjnilsson 2f0dba45d8 Stream: Channel resend on leader change
Detect when a new stream leader is elected and make stream_queues
re-send any unconfirmed, pending messages to ensure they did not get
lost during the leader change. This is done using the osiris
deduplication feature to ensure the resend does not create duplicates of
messages in the stream.
2021-01-13 12:09:44 +00:00
dcorbacho 9ef9dde6ce Apply retention policy in all osiris members 2021-01-12 12:18:13 +00:00
dcorbacho e5a2eaaa0d Update retention when only stream retention policy has changed
In any other case, the worker needs to be restarted
2021-01-12 12:18:13 +00:00
Arnaud Cogoluègnes 43cfb45a74
Convert AMQP 091 timestamp to millisecond
For start offset in stream queue.
2020-11-27 14:47:36 +01:00
dcorbacho f23a51261d Merge remote-tracking branch 'origin/master' into stream-timestamp-offset 2020-11-18 14:27:41 +00:00
Philip Kuryloski a1fe3ab061 Change repo "root" to deps/rabbit
rabbit must not be the monorepo root application, as other applications depend on it
2020-11-13 14:34:42 +01:00