allow receiving and storing messages with the same timestamp #55

Merged
blue merged 1 commits from shunf4/squawk:fix/handle_msg_same_tm into messageFeed 1 year ago
shunf4 commented 1 year ago

It's possible that some messages have the same timestamp (e.g. network is down when sending them; once network is up, they are sent simutaneously.).

We should allow storing them in the local archive, by specifying MDB_DUPSORT when creating order db.

This PR is based on #50. The changes for this PR is at the lastest commit.

It's possible that some messages have the same timestamp (e.g. network is down when sending them; once network is up, they are sent simutaneously.). We should allow storing them in the local archive, by specifying `MDB_DUPSORT` when creating `order` db. This PR is based on #50. The changes for this PR is at the lastest commit.
shunf4 added 17 commits 1 year ago
blue merged commit b19dafef33 into messageFeed 1 year ago
The pull request has been merged as b19dafef33.
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: blue/squawk#55
Loading…
There is no content yet.