Skip to content
This repository was archived by the owner on Jan 21, 2022. It is now read-only.
This repository was archived by the owner on Jan 21, 2022. It is now read-only.

Support versioning in abacus-mongoclient  #541

Open
@hsiliev

Description

@hsiliev

Currently we scale microservices as applications (aggregator-0, aggregator-1, etc.). Each application receives submissions for particular organization (see #536). To guarantee consistency we use locks.

This means that if we scale application instances (aggregator-0 has 2 instances) these locks will no longer function correctly. For CouchDB we can prevent modification of docs with bad revision.

To have the same behaviour we need to version documents stored in Mongo and simulate the Couch revisions.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions