Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow for forest locking in the query #1

Open
BillFarber opened this issue Mar 3, 2020 · 0 comments
Open

Allow for forest locking in the query #1

BillFarber opened this issue Mar 3, 2020 · 0 comments

Comments

@BillFarber
Copy link
Owner

As a connector,
I want to have multiple copies of the kafka-marklogic-source running,
So that I can pull documents out of MarkLogic as fast as possible.

Given documents that are in the "ready" collection,
When the connector queries the database in update mode (for setting the collection to "processing",
Then the connector doesn't lock the entire set of documents,
and the connector only queries a subset of forests,
and the connector only locks the target documents in those forests.

Use a synthetic semaphore to lock the queried documents in a subset of forests.

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

No branches or pull requests

1 participant