-
Notifications
You must be signed in to change notification settings - Fork 17
DM-42005: HTTP-based Worker Replication server #883
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
Open
iagaponenko
wants to merge
16
commits into
main
Choose a base branch
from
tickets/DM-42005
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
91b3c7e to
b5b2f7f
Compare
e90255c to
ea7962d
Compare
013e4f5 to
021a07a
Compare
c8f58ae to
9973d08
Compare
cae38b9 to
da02c98
Compare
bf0a008 to
24c5495
Compare
154426a to
91c03f7
Compare
b581b6a to
124acba
Compare
8627633 to
069298b
Compare
…uests This function that was provisioned in the original design of the Replication System has shown no benefits. Besides, the "duplicate" requests can't be reliably detected since the detection algorithm is time dependent.
…ation classes The class is now obsolete.
…service Extended Replication Worker's config page on the Web Dashbnoard to display connection parameters of the HTTP-based worker management services.
069298b to
b3fed15
Compare
The new API allows embedding the partitioning tools into other applications. Migrated error handling to throw exceptions instead of calling std::exit(). Migrated the library code not to print anything directly onto std::cout. Extended the ChunkIndex API to allow extracting info on the resulting products of the translation.
5e3245f to
bfe655b
Compare
The new services extend chunk allocations (placement) to include all existing replicas for the chunks in question instead of just one allocation per chunk. The extended services are meant to be used by the ingest workflows to push multiple replicas of a chunk in scenarios where the replication level is bigger than 1 and multiple replicas already exist in Qserv. The older services would fail in such scenarios. Minor refactoring on the older code. Fixed a bug in the JSON schema of of the chunks allocation service that was returning the key "location" instead of "locations". Migrated the integration test accordingly. Fixed a bug in the integration test. Migratd the documentation on the Ingest API.
5637d24 to
8d8afcd
Compare
Added a random delay in a range of 1 to 1001 milliseconds before making transaction reatries after InnoDB deadlocks. The specific problem to be addressed are inserts/deletions of rows into/from a table with the AUTO_INCREMENT series.
Refactoring in the HTTP modules where it was needed to implement the new feature and to prevent unnecessary code duplication.
550ed1b to
132bb3f
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.