Open bsbds opened 1 week ago
Attention: Patch coverage is 58.33333%
with 10 lines
in your changes missing coverage. Please review.
Project coverage is 75.61%. Comparing base (
e35b35a
) to head (ae0401f
). Report is 132 commits behind head on master.
Files | Patch % | Lines |
---|---|---|
crates/xline/src/server/kv_server.rs | 41.17% | 6 Missing and 4 partials :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@bsbds Convert your pr to draft since CI failed
Depends-On: #851 #852
Removes the current read state mechanism, and sets all proxied etcd commands to use slow path.
The read state requires the leader to query it's
UncommittedPool
. However, for every query, we must lock it in another tokio worker thread. Lock in multiple threads could reduce general performance, I think it's best to remove the current implementation and reimplement it in the future.All etcd commands need to use slow path because we need 2RTTs to acquire a revision.
Please briefly answer these questions:
what problem are you trying to solve? (or if there's no problem, what's the motivation for this change?)
what changes does this pull request make?
are there any non-obvious implications of these changes? (does it break compatibility with previous versions, etc)