Jing Yang
|
9bf4309269
Use a known-width integer for beats.
|
3 лет назад |
Jing Yang
|
b8bfaa8ab9
Add a mixed test for the verify authority daemon.
|
3 лет назад |
Jing Yang
|
de63f458f2
Add tests for reset_state().
|
3 лет назад |
Jing Yang
|
ad1febb5bd
Add tests for clear_ticked_requests().
|
3 лет назад |
Jing Yang
|
13068c3520
Add a test for clear_committed_requests().
|
3 лет назад |
Jing Yang
|
13ae1b1358
Add a test for remove_expired_requests.
|
3 лет назад |
Jing Yang
|
41dba8fa65
Add basic tests for the verify authority API.
|
3 лет назад |
Jing Yang
|
c7a6b12213
Address clippy warnings in tests.
|
3 лет назад |
Jing Yang
|
285b004ccb
Create a separate CommitSentinel RPC from the Get RPC.
|
3 лет назад |
Jing Yang
|
bb649211b5
Address clippy warnings.
|
3 лет назад |
Jing Yang
|
db0696517e
Reduce the frequency of heartbeats when there are pending commits.
|
3 лет назад |
Jing Yang
|
c5ea702fdb
Merge branch 'verify_authority'
|
3 лет назад |
Jing Yang
|
222b18d355
Fail all new and inflight requests at shutdown time.
|
3 лет назад |
Jing Yang
|
6a09d52c63
Code cleanup: use the Entry::or_default() API.
|
3 лет назад |
Jing Yang
|
de596e53ee
Remove allow(unused) from beat_ticker.
|
3 лет назад |
Jing Yang
|
98f001201f
Add comment to explain the verify authority API.
|
3 лет назад |
Jing Yang
|
168c7bb6d1
Add a comment to explain the bahvior of clearing with new commit.
|
3 лет назад |
Jing Yang
|
1360455490
Improve comments in beat_ticker.rs.
|
3 лет назад |
Jing Yang
|
79778e383c
Replace parker with a condvar.
|
3 лет назад |
Jing Yang
|
466c1d4d88
Replace SharedBeatTicker with DaemonBeatTicker.
|
3 лет назад |
Jing Yang
|
001de2e3db
Skip popping if all requests are covered.
|
3 лет назад |
Jing Yang
|
18bb52ef66
Correct the code that counts votes in an assert check.
|
3 лет назад |
Jing Yang
|
efbb23840c
Move the covered index relative to start, instead of as an absolute index.
|
3 лет назад |
Jing Yang
|
b5c4b8d8f8
Derive "Debug" for all data structs.
|
3 лет назад |
Jing Yang
|
7867b866eb
Tighten the index requirement when clearing by commit.
|
3 лет назад |
Jing Yang
|
9162f177fa
Lock request queue before taking a moment to maintain order.
|
3 лет назад |
Jing Yang
|
d40a50978b
Add logging to the new verify authority daemon.
|
3 лет назад |
Jing Yang
|
0ef845922e
Use the new no-commit read in kv server.
|
3 лет назад |
Jing Yang
|
ef2573e986
Expose the new verify authority API.
|
3 лет назад |
Jing Yang
|
1c6bbbc54f
Trigger heartbeats when authority needs to be verified.
|
3 лет назад |