26 Commits

Author SHA1 Message Date
Kishore Nallan
2a89acd84e Return 503 for both read and write lag. 2021-04-25 19:15:33 +05:30
Kishore Nallan
60c03bce19 Defer deletion of old ssl context during SSL cert refresh. 2021-04-25 16:31:20 +05:30
Kishore Nallan
0ae663ab02 Implement rate limiting to protect from write lag. 2021-04-22 07:35:51 +05:30
kishorenc
693fcb0e7e Tweak default value for thread pool size and parallel coll loading. 2021-03-30 19:53:56 +05:30
kishorenc
bc0d01bb47 Parameterize thread pool size and collection load configs. 2021-03-29 15:18:47 +05:30
kishorenc
8d4defa93e Parameterize catchup_min_sequence_diff. 2021-03-04 14:11:28 +05:30
Jason Bosco
8b4e07cb81 Configuration to log slow requests 2021-01-23 07:44:59 -08:00
kishorenc
a2b421209c Protect API until follower has caught up with leader.
The catch up threshold is configurable as well. Default: 95%
2020-09-17 18:00:32 +05:30
kishorenc
27179b4f8b Parameterize snapshot interval duration. 2020-09-15 17:30:04 +05:30
kishorenc
09541e5311 Parameterize number of indices per collection. 2020-08-19 12:29:59 +05:30
kishorenc
22ce33bfbe Allow a threshold for memory limit to be specified. 2020-08-09 12:04:37 +05:30
kishorenc
0a1b28b501 Log warning when search only API key is set via configuration. 2020-05-31 09:47:46 +05:30
kishorenc
377394e793 Remove search-only-api-key server argument.
The API key generation end-point should be use for generating keys with specific ACL.
2020-05-30 11:09:35 +05:30
kishorenc
9ca4938045 Use nodes instead of peers for connection string. 2020-04-18 14:10:33 +05:30
kishorenc
8829c5aebc Allow customization of peering address.
This is an optional argument since Typesense automatically tries to bind on an internal IP. One needs to specify this only when there are multiple internal IPs.
2020-03-26 17:39:42 +05:30
kishorenc
123888d4d3 When no --peers arg is given, start single node cluster. 2020-03-15 20:33:13 +05:30
kishorenc
a52ec80999 Handle presence/absence of snapshot.
Still need to handle import of raw db data into snapshot.
2020-03-15 16:11:29 +05:30
kishorenc
b81ce1062d Basic write replication is working. 2020-03-11 22:31:17 +05:30
kishorenc
eb0c66d778 Basic raft clustering is working.
Still need to handle actual stateful operations.
2020-03-08 21:22:48 +05:30
kishorenc
9ab7e3db46 Add more consts. 2019-10-13 12:55:23 +05:30
kishorenc
0a6f8947f3 Refactor replication init and improve logging. 2019-10-13 12:53:21 +05:30
Kishore Nallan
2d3b0403ad Add getter for config_file. 2019-06-07 16:45:46 +05:30
Kishore Nallan
2f0f3f9c9a Pull index count into configs. 2019-05-14 19:35:15 +05:30
Kishore Nallan
bfdc31f8d8 Read configuration from a configuration file. 2019-04-30 20:47:23 +05:30
Kishore Nallan
51169bf6b6 Add tests for configuration parsing. 2019-04-29 18:55:45 +05:30
Kishore Nallan
374ab9789b Parse configuration from both env vars and command line args. 2019-04-28 17:38:34 +05:30