Commit Graph

537 Commits

Author SHA1 Message Date
Copilot
3e4e51c903 Support providing backups in DELETE mode 2025-07-24 14:01:33 -04:00
Copilot
42179e7358 Allow the stepdown HTTP API call to specify target node for new leader 2025-07-21 17:00:07 -04:00
Philip O'Toole
1150d47a6f Use POST for leader stepdown 2025-07-21 10:52:43 -04:00
Philip O'Toole
c6eddee6ce Minor refactor of HTTP-Store interface 2025-07-21 09:16:28 -04:00
Copilot
4f1652f1bd Support processing of intra-cluster "stepdown" requests 2025-07-12 11:46:55 -04:00
Copilot
b4e92616f5 Add HTTP API endpoint for leader stepdown functionality 2025-07-11 20:07:39 -04:00
Philip O'Toole
2dd2e1dfcd Consolidate utilities into internal module 2025-07-07 11:04:43 -04:00
Copilot
9ebdeccdd7 Refactor Store.Query to Return Raft Index for Strong Consistency Reads 2025-06-18 22:36:14 -04:00
Philip O'Toole
2474a79962 Return Raft index in response 2025-06-18 00:08:27 -04:00
Philip O'Toole
808803c8d4 Support RaftIndex display and inter-node 2025-06-17 23:58:38 -04:00
Copilot
a192f94513 Return Raft index from Store.Request 2025-06-17 20:51:43 -04:00
Copilot
91dbbf7449 Expose Raft log index via Store.Execute 2025-06-17 17:01:32 -04:00
Philip O'Toole
6c57c5edb4 Count TLS cert fetches 2025-05-01 15:10:00 -04:00
Philip O'Toole
d55b9889ce Update service_tls_test.go 2025-05-01 11:16:04 -04:00
Philip O'Toole
ab710e6ac4 Remove unnecessary sleep in test 2025-05-01 11:13:59 -04:00
Philip O'Toole
c79230763c Create and integrate lazy x.509 cert loading 2025-05-01 10:58:47 -04:00
Philip O'Toole
9e7b3370f5 Replace interface{} with any (#2077) 2025-04-28 08:12:18 -04:00
Philip O'Toole
8d89e7e92f Add TLS cert monitoring to HTTP server (#2069) 2025-04-20 16:05:10 -04:00
Philip O'Toole
65fc65eef2 Minor refactoring of HTTP Leader checks (#2057) 2025-03-17 09:35:07 -04:00
Philip O'Toole
fd9aab8904 Support SQL-format loading via Follower 2025-03-15 11:18:07 -04:00
Philip O'Toole
e6ad1464f2 Minor refactor of HTTP credential handling (#2056)
Refactor of HTTP credential handling
2025-03-15 10:27:49 -04:00
Philip O'Toole
b0dbad0672 Add version information to /nodes output (#2006)
https://github.com/rqlite/rqlite/issues/2001
2024-12-27 14:59:17 -05:00
Philip O'Toole
725d2eb672 Rename GetAddresser interface (#2005) 2024-12-27 14:29:45 -05:00
Philip O'Toole
5ac8a90816 Pass around NodeMeta objects instead of strings (#2003) 2024-12-27 10:42:31 -05: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
c65b159828 Support executes as raw POST bodies (#1992) 2024-12-12 20:16:11 -05:00
Philip O'Toole
7284945fd9 Support queries as raw POST bodies (#1991) 2024-12-11 17:08:46 -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
983b1a9695 Include any failure message in /status output (#1973) 2024-11-04 14:06:54 -05:00
Philip O'Toole
72b812bb51 Skip and log stats that return error (#1972)
Skip and log stats that return error

https://github.com/rqlite/rqlite/issues/1971
2024-11-04 10:21:46 -05:00
Philip O'Toole
e12fafdb32 Return HTTP 204 if there is nothing to snapshot 2024-10-31 09:30:24 -04:00
Philip O'Toole
cf420ee7e8 Support configurable Linearizable timeout 2024-10-15 07:46:19 -04:00
Philip O'Toole
df64c2ef09 Refactor IsServing HTTP checker 2024-10-12 09:55:43 -04:00
Philip O'Toole
013c476042 Further test HTTP check 2024-10-11 08:48:15 -04:00
Philip O'Toole
8604488122 Tighten up IsServing HTTP checker 2024-10-11 08:27:39 -04:00
Philip O'Toole
b00eada4a5 Leader Read Opt is actually Linearizable 2024-10-09 08:35:48 -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
aad4e90dfb Improve request parsing error messages 2024-09-24 09:02:34 -04:00
Philip O'Toole
5ff31b9f9d Request parsing supports byte arrays 2024-09-24 08:55:54 -04:00
Philip O'Toole
19359101ab Miscellaneous improvements to code (#1891)
Miscellaneous improvements to code
2024-09-16 08:32:59 -04:00
Philip O'Toole
53ef2194c1 Count Queued Wait timeouts 2024-09-10 11:21:29 -04:00
Philip O'Toole
1178c51d2a Improve Queued Writes timeout message 2024-09-10 11:20:04 -04:00
Philip O'Toole
c608182822 Validate that trailing_logs is a number 2024-06-14 12:40:08 -04:00
Philip O'Toole
a91c9b0df8 User-request Snapshot end-to-end test 2024-06-14 12:35:10 -04:00
Philip O'Toole
284cc687f8 Snapshots can now be triggered via a HTTP request 2024-06-14 12:21:53 -04:00
Philip O'Toole
92757bfbf2 Add read-consistency level "auto" 2024-06-07 23:46:56 -04:00
Philip O'Toole
5a5176c471 Check errors, fix a type-check bug along the way 2024-06-04 09:23:21 -04:00
Philip O'Toole
2c633cfc92 Remove duplicated import 2024-06-01 15:58:50 -04:00
Philip O'Toole
49bad3b7b0 ABL 2024-06-01 14:19:41 -04:00