Skip to content

Conversation

@odesenfans
Copy link
Collaborator

Fixed an issue where the message processing job would fail while
writing a confirmation to the capped messages collection.

In MongoDB, it is not possible to increase the size of a document
in a capped collection. As this particular collection is only used
for the websockets to advertise new messages, we now simply
ignore the confirmation for this collection.

Added a unit test to test the confirmation flow.

@odesenfans odesenfans requested a review from hoh May 6, 2022 10:13
Fixed an issue where the message processing job would fail while
writing a confirmation to the capped messages collection.

In MongoDB, it is not possible to increase the size of a document
in a capped collection. As this particular collection is only used
for the websockets to advertise new messages, we now simply
ignore the confirmation for this collection.

Added a unit test to test the confirmation flow.
@odesenfans odesenfans force-pushed the od-no-update-to-capped-message branch from 511c73f to 999a24b Compare May 6, 2022 23:00
@hoh hoh merged commit a0f2b4b into aleph-im:dev May 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants