38 Commits

Author SHA1 Message Date
Kishore Nallan
069d7eb998 Merge branch 'master' into v0.23 2022-06-02 10:40:41 +05:30
Alex Ball
2685917ca4 Fix typo in TYPESENSE_API_ADDRESS env handling 2022-05-23 20:36:06 -04:00
Kishore Nallan
73cc256e2f Add guard for protecting writes from low disk space. 2022-05-10 07:46:39 +05:30
Kishore Nallan
da672d3629 Fix access logging cmdline flag. 2022-04-30 14:33:42 +05:30
Kishore Nallan
b3b591d9dd Option to log requests. 2022-04-27 16:53:15 +05:30
Kishore Nallan
b502f5ddb8 Make cors domains a separate parameter.
Also fixes --enable-cors flag parsing issue.
2022-04-13 11:13:24 +05:30
Kishore Nallan
8835533193 Fix CORS value case sensitivity. 2022-03-04 16:54:30 +05:30
Kishore Nallan
d20065a48c Allow a list of specific cors domains. 2022-02-20 10:21:25 +05:30
Kishore Nallan
7ce33cc94e Allow peering subnet to be specified for internal IP. 2022-01-26 15:53:01 +05:30
Kishore Nallan
5aeb238405 Log error if any during config file parsing. 2022-01-05 12:54:32 +05:30
Kishore Nallan
b24df3c26a Allow read/write lags to be updated via config API. 2021-08-11 20:28:47 +05:30
Kishore Nallan
b92885a4f4 Fix peering address environment variable assignment. 2021-07-08 21:31:33 +05:30
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