Repository navigation
Implement TrueTime clock sync and distributed transactions for sharding - #78
Merged
makr-code merged 4 commits intoDec 10, 2025
Conversation
…ted transactions Co-authored-by: makr-code <[email protected]>
Co-authored-by: makr-code <[email protected]>
Co-authored-by: makr-code <[email protected]>
Contributor
Author
|
Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
Copilot
AI
changed the title
[WIP] Revert TrueTime clock sync and transactions changes
Implement TrueTime clock sync and distributed transactions for sharding
Dec 10, 2025
makr-code
marked this pull request as ready for review
December 10, 2025 07:52
makr-code
merged commit Dec 10, 2025
6fd272f
into
revert-75-copilot/improve-transactional-reliability
14 tasks
6 of 30 tasks
Copilot AI
added a commit
that referenced
this pull request
Mar 15, 2026
…ssue #78) - include/network/raft_load_balancer.h: Full header with Config, Backend, Stats, RaftRole and all 5 load-balancing strategies - src/network/raft_load_balancer.cpp: Production implementation with health-check loop, Raft election loop, dynamic weight rebalancing, cross-DC routing - tests/test_raft_load_balancer.cpp: 26 focused unit tests covering all 14 ACs - tests/CMakeLists.txt: Add RaftLoadBalancerFocusedTests target + fix 3 pre-existing CMake parse errors (interleaved/unclosed blocks) - .github/workflows/load-balancing-raft-coordination-ci.yml: CI workflow Co-authored-by: makr-code <[email protected]>
makr-code
added a commit
that referenced
this pull request
Mar 15, 2026
…aft-coordination feat(network): Raft-coordinated load balancer with all 5 routing strategies (v1.8.0, Issue #78)
7 tasks done
Copilot AI
added a commit
that referenced
this pull request
May 5, 2026
…ThemisHelpLoRA version history, block table init, K-means clustering) Agent-Logs-Url: https://github.com/makr-code/ThemisDB/sessions/cf43fac4-7ccf-4bc2-9515-1fd44d6a93ca Co-authored-by: makr-code <[email protected]>
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
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.
Implements Phase 3 of the TrueTime integration: clock synchronization with uncertainty bounds, distributed transaction coordination, and cross-shard consistency guarantees.
Core Components
TrueTime Clock (
truetime.h/cpp)[earliest, latest]similar to Google SpannerwaitUntil(timestamp)operation for external consistencyDistributed Transaction Coordinator (
distributed_transaction.h/cpp)TT.now().latest) →waitUntil()→ CommitShardRouter Integration
router->get(urn, snapshot_ts)getTransactionCoordinator()RaftLog Timestamps
timestamp_nsfield toLogEntryfor total ordering across shardsExample Usage
Guarantees
commit_ts(T1) < commit_ts(T2)Phase 4 (GPS time source, advanced drift compensation, multi-datacenter optimization) tracked separately.
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.