Commit Graph

160 Commits

Author SHA1 Message Date
Copilot
3e4e51c903 Support providing backups in DELETE mode 2025-07-24 14:01:33 -04:00
Philip O'Toole
1150d47a6f Use POST for leader stepdown 2025-07-21 10:52:43 -04:00
Copilot
4f1652f1bd Support processing of intra-cluster "stepdown" requests 2025-07-12 11:46:55 -04:00
Philip O'Toole
2dd2e1dfcd Consolidate utilities into internal module 2025-07-07 11:04:43 -04:00
Philip O'Toole
f8bd839ce9 Add initial CDC Service skeleton 2025-06-26 20:55:19 -04:00
Philip O'Toole
6e7d71abb4 Revert "Support setting key-value pairs via Raft"
This reverts commit def0ff377c.
2025-06-12 09:12:41 -04:00
Philip O'Toole
def0ff377c Support setting key-value pairs via Raft 2025-06-11 22:24:22 -04:00
Philip O'Toole
038fdaabb2 More whitespace fixes 2025-06-11 21:19:44 -04:00
Philip O'Toole
0e039b1b13 Fix whitespace 2025-06-11 21:18:16 -04:00
Philip O'Toole
a4fbdc3e0d Add CDC streamer to database module 2025-06-10 10:06:33 -04:00
Philip O'Toole
9e7b3370f5 Replace interface{} with any (#2077) 2025-04-28 08:12:18 -04:00
Philip O'Toole
eec3ef2d18 Support Commit Hook registration (#2062) 2025-04-08 22:20:14 -04:00
Philip O'Toole
568030f17f Support registering Update Hooks at the database level (#2061) 2025-04-03 22:21:41 -04:00
Philip O'Toole
9d841ea783 Upgrade dependencies (#2059) 2025-03-31 10:27:50 -04:00
Oleksandr Redko
3fc7262cc5 Simplify random package with math/rand/v2 (#2044) 2025-02-08 17:56:31 -05:00
Philip O'Toole
abd78d762b Basic preupdate hook support at DB level 2025-01-22 22:57:14 -05:00
Philip O'Toole
df8bb832b3 Count number rewritten 2025-01-19 12:05:17 -05:00
Philip O'Toole
6ebdf69e34 Count SQL processor panics 2025-01-19 12:02:41 -05:00
Philip O'Toole
fd71fa1366 Recover from any panic during SQL parsing
The SQL parsing library has extensive text coverage, but there is some
possible uncovered SQLite syntax. Don't let the program crash because of
this but signal back to the caller.
2025-01-19 11:58:15 -05:00
Philip O'Toole
7289a95f6c Add benchmark tests 2025-01-19 11:44:46 -05:00
Philip O'Toole
3819adc9e0 Unit test Contains function in parser detection 2025-01-19 11:41:07 -05:00
Philip O'Toole
f2a3eb3988 Merge remote-tracking branch 'origin' into optimize-parser-detection 2025-01-19 11:30:04 -05:00
Philip O'Toole
8adb98dae0 Optimize need-for-parsing detection 2025-01-19 11:29:03 -05:00
Philip O'Toole
60820d2067 Renamed variable for clarity 2025-01-19 11:04:09 -05:00
Oleksandr Redko
c7df4cec86 Fix Windows tests 2025-01-17 17:34:06 +02:00
Oleksandr Redko
25ede0269d Simplify tests by using t.TempDir instead of os.MkdirTemp 2025-01-17 10:37:53 +02:00
Philip O'Toole
d394d3926d Rename GET_NODE_API_URL to GET_NODE_META (#2002)
Rename `GET_NODE_API_URL` to `GET_NODE_META`
2024-12-27 10:13:01 -05:00
Philip O'Toole
dbe54e9972 Upgrade dependencies (#1981) 2024-11-15 06:04:29 -05:00
Philip O'Toole
d500fa3c19 Rewrite randomblob(N) (#1977) 2024-11-11 09:00:21 -05:00
Philip O'Toole
737d4da126 Add complex SQL unit test 2024-11-08 12:38:41 -05:00
Philip O'Toole
d03f44b0d8 Rewrite time and date functions so they are deterministic (#1976) 2024-11-07 21:26:16 -05:00
Philip O'Toole
0e4a996ad6 Upgrade to latest SQL parser (#1975) 2024-11-07 20:00:36 -05:00
Philip O'Toole
cf420ee7e8 Support configurable Linearizable timeout 2024-10-15 07:46:19 -04:00
Philip O'Toole
b00eada4a5 Leader Read Opt is actually Linearizable 2024-10-09 08:35:48 -04:00
peterxcli
5b46584b77 use latest protoc-gen-go to gen code 2024-10-09 16:37:14 +08:00
peterxcli
8cd4b08fd5 Merge branch 'master' into feat/leader-read-index-optimization 2024-10-09 16:33:13 +08:00
Philip O'Toole
4d10b725af go mod updates 2024-10-07 13:34:56 -04:00
peterxcli
c948cd6433 refactor(http, pb): rename enable_leader_read_optimization to leader_read_opt
- Rename EnableLeaderReadOptimization field to LeaderReadOpt in QueryRequest proto
- Update related code in http package to use new field name
- Shorten parameter name for better readability and consistency
2024-10-02 18:24:08 +08:00
peterxcli
fcaf2fb761 feat(store/store): add leader read optimization
- Add EnableLeaderReadOptimization flag to QueryRequest proto
- Implement leader read optimization in Store.Query method
- Add EnableLeaderReadOptimization() method to QueryParams
- Pass EnableLeaderReadOptimization flag from HTTP handler to Store

This optimization allows read queries to bypass Raft consensus when
the node is the leader, improving read performance in certain scenarios.
2024-10-02 16:59:30 +08:00
Philip O'Toole
daa9471f1a Refactor code to further use common utilities 2024-09-10 08:07:15 -04:00
Philip O'Toole
6e9aa912d8 Generate protobuf code using latest protoc 2024-08-11 17:14:31 -04:00
Philip O'Toole
92757bfbf2 Add read-consistency level "auto" 2024-06-07 23:46:56 -04:00
Philip O'Toole
49bad3b7b0 ABL 2024-06-01 14:19:41 -04:00
Philip O'Toole
4e006cace0 Fix whitespace 2024-05-29 09:37:18 -04:00
Philip O'Toole
e7dc98d065 go mod updates 2024-05-04 16:59:27 -04:00
Philip O'Toole
fcd6a3493e go mod updates 2024-03-12 15:46:25 -04:00
Philip O'Toole
1aed4700fe Fix bug in Processor which didn't reset Rewriter 2024-03-10 13:34:49 -04:00
Philip O'Toole
332d98f668 Better proto field name 2024-03-09 16:51:08 -05:00
Philip O'Toole
53fef8c2ca Combo unit test 2024-03-09 11:06:53 -05:00
Philip O'Toole
f2107de2b9 Add sql module 2024-03-09 11:01:33 -05:00