When multiple collections or messages have the same timestamp, current code doesn't ensure the ordering is consistent. This might result in wrong responses to clients when using partial results fetching via RSM. The code should do second-level sorting by collection / message ID to mitigate it.
When multiple collections or messages have the same timestamp, current code doesn't ensure the ordering is consistent. This might result in wrong responses to clients when using partial results fetching via RSM. The code should do second-level sorting by collection / message ID to mitigate it.