Skip to content

Feature/python client and raft - #1

Merged
chirdeeptomar merged 26 commits into
mainfrom
feature/python-client
Jul 27, 2026
Merged

chirdeeptomar merged 26 commits into
mainfrom
feature/python-client

Conversation

@chirdeeptomar

Copy link
Copy Markdown
Owner

No description provided.

chirdeeptomar and others added 26 commits December 23, 2025 19:13
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Swap sled 0.34 for redb 2 in workspace dependencies
- Create redb_repository.rs with RedbUserRepository and RedbRoleRepository
- Create redb_store.rs with RedbPersistence
- Replace From<sled::Error> with redb error conversions in auth/error.rs
- Update all callers across carbon, server-http, carbon-server
- Delete sled_repository.rs and sled_store.rs

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…tCacheNode dep

- Change process_connection signature to accept Arc<dyn CacheOperations<Vec<u8>, Bytes>>
  instead of Arc<RaftCacheNode>, enabling use in both standalone and cluster modes
- Remove carbon-raft dependency from server-tcp/Cargo.toml
- Remove forwarding logic that was specific to Raft clustering
- Remove carbon_raft::node::RaftCacheNode import

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…user/role handlers

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Adds standalone.rs with a no-Raft startup path using RedbUserRepository,
RedbRoleRepository, and CacheOperationsService. Also fixes AppState::new
call in main.rs to match the updated 6-arg signature (cache_ops + raft_node).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@chirdeeptomar
chirdeeptomar merged commit 9ba1cce into main Jul 27, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant