palantir / atlasdb

Transactional Distributed Database Layer
https://palantir.github.io/atlasdb/
Apache License 2.0
47 stars 8 forks source link

Flatten TimestampPaxosResource and add Undertow support #6959

Closed ergo14 closed 6 months ago

ergo14 commented 6 months ago

General

Before this PR: TimestampPaxosResource, used for Paxos per client to acquire timestamp bounds, contains subresource locators and is mounted on Jersey. After this PR: TimestampPaxosResource is flattened into two resources with those registered as both Jersey and Undertow resources. ==COMMIT_MSG== ==COMMIT_MSG==

Priority: P2 Concerns / possible downsides (what feedback would you like?): Similar concerns from the other PRs:

Scale

Would this PR be expected to pose a risk at scale? Think of the shopping product at our largest stack.: No Would this PR be expected to perform a large number of database calls, and/or expensive database calls (e.g., row range scans, concurrent CAS)?: No Would this PR ever, with time and scale, become the wrong thing to do - and if so, how would we know that we need to do something differently?: No

Development Process

Where should we start reviewing?:

If this PR is in excess of 500 lines excluding versions lock-files, why does it not make sense to split it?:

Please tag any other people who should be aware of this PR: @jeremyk-91 @sverma30 @raiju