Kishore Nallan
4549e09063
Handle response write race condition with h2o dispose.
2022-02-14 13:38:51 +05:30
Kishore Nallan
0bc9574112
Further refactor indexing/response workflow.
2021-10-08 18:56:52 +05:30
Kishore Nallan
87f18b03f3
Address concurrency edge case in import streaming.
...
Manage concurrent access by the req/res variables between batch indexer and http response threads.
2021-10-07 19:38:54 +05:30
Kishore Nallan
6da39ff51c
Expose write stats.
2021-10-02 18:54:30 +05:30
Kishore Nallan
e3bf9f02d6
Expose number of pending writes as metric.
2021-09-21 12:04:08 +05:30
Kishore Nallan
b70296e58f
Refactor write request check.
2021-04-26 18:33:52 +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
aa1cd0acd1
Recover gracefully from a crash during write.
2021-04-23 14:23:00 +05:30
Kishore Nallan
073667e844
Fix blocking of http thread during writes.
2021-04-08 17:57:02 +05:30
kishorenc
ad28540fdc
Manage lifecycle of deferred_req_res_t better.
2021-04-06 14:12:15 +05:30
kishorenc
063d7911b4
SSL cert loading: replace instead of add + validation.
2021-03-21 09:37:08 +05:30
kishorenc
b9f3829b43
Refactor query string parsing to not use regexp.
2021-03-03 19:47:02 +05:30
kishorenc
95ee14350a
Use shared_ptr to handle req/res life cycles.
2021-02-28 12:48:20 +05:30
kishorenc
5dc7df793c
Merge branch '0.18.0-patches' into 0.20.0-rc
...
# Conflicts:
# include/auth_manager.h
# include/collection_manager.h
# include/http_server.h
# src/auth_manager.cpp
# src/collection_manager.cpp
# src/http_server.cpp
2021-02-16 12:54:42 +05:30
kishorenc
09530e3415
Fix race condition in condition variable notify/wait.
2021-02-15 18:23:42 +05:30
kishorenc
0175ac0df4
Support auth against multiple collections.
...
# Conflicts:
# include/auth_manager.h
# include/collection_manager.h
# include/http_server.h
# src/auth_manager.cpp
# src/collection_manager.cpp
2021-02-11 19:17:18 +05:30
kishorenc
17fbbd0838
Refactor concurrency model.
2021-02-06 20:17:18 +05:30
Jason Bosco
8b4e07cb81
Configuration to log slow requests
2021-01-23 07:44:59 -08:00
Jason Bosco
bcea70ebfd
Add windowed stats endpoint
2021-01-22 16:52:27 -08:00
kishorenc
10fd97c32d
Node vote API for triggering leader rotation.
2020-12-28 19:20:00 +05:30
kishorenc
8a310bbb82
On demand snapshot API.
2020-12-28 19:19:59 +05:30
Kishore Nallan
93b1d2d1cb
Refactor to a create/update/upsert API model.
2020-10-24 15:43:55 +05:30
kishorenc
1ca39459eb
Fix catch up error on https.
2020-09-18 07:24:38 +05:30
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
695c44dc17
Forward status code and content type properly.
2020-09-05 18:56:39 +05:30
kishorenc
58b52687ea
Handle disconnects during import.
2020-09-04 15:12:09 +05:30
kishorenc
6d7c6b2ea0
Implemented import streaming end-to-end on follower.
2020-09-03 20:44:39 +05:30
kishorenc
10957633fb
Request-side import streaming via follower is working.
2020-09-01 20:12:08 +05:30
kishorenc
030dc5ca35
Fix http2 async import.
2020-08-21 18:02:06 +05:30
kishorenc
09541e5311
Parameterize number of indices per collection.
2020-08-19 12:29:59 +05:30
kishorenc
80a3e0fb87
Throttle imports.
...
Ensure that other queries are not blocked when an import is in progress.
2020-08-18 18:32:19 +05:30
kishorenc
e2c0b52671
Free request & response objects via generator dispose callback.
2020-08-17 11:53:04 +05:30
kishorenc
4a173ee49d
Streaming import basics.
2020-08-16 20:17:07 +05:30
kishorenc
6e77a9792e
Refactor http req handler: prepare for deferred request body access.
2020-08-12 21:42:23 +05:30
kishorenc
5bb3e062da
Update H2O.
2020-05-18 19:24:15 +05:30
kishorenc
6342465a30
Return server state in debug response.
2020-05-05 20:06:14 +05:30
kishorenc
1395d74d48
Manage scoped search API keys.
2020-04-30 14:21:39 +05:30
kishorenc
29b4225461
API Key management.
2020-04-27 21:43:24 +05:30
kishorenc
1e656b092a
Refresh SSL certs from disk periodically (every 8h).
2020-04-18 19:56:07 +05:30
kishorenc
deeec05f69
Make health check consider underlying replication state.
2020-04-02 18:38:58 +05:30
kishorenc
b9bc0bd31a
Synchronize start of API and state services.
2020-04-02 14:38:55 +05:30
kishorenc
89690101ae
Make route_hash unsigned.
2020-04-01 18:30:06 +05:30
kishorenc
3b3d9cfb01
Fix a route ordering issue introduced by using unordered map.
2020-03-26 21:12:17 +05:30
kishorenc
75a1fe1e1d
Use hashmap for storing routes instead of an array.
...
The use of array index makes rolling updates tricky since requests might be forwarded to an instance running an older/newer version having a different route index.
2020-03-26 14:08:06 +05:30
kishorenc
901795869d
Fix API server kicking in early before init readiness.
2020-03-25 08:48:01 +05:30
kishorenc
b81ce1062d
Basic write replication is working.
2020-03-11 22:31:17 +05:30
kishorenc
a975f39685
Refactor http code to remove circular references.
2020-03-11 16:13:14 +05:30
kishorenc
1bae5bead6
Make Typesense version a member.
2019-09-28 09:49:53 +05:30
Kishore Nallan
13964b6a57
Allow collections to be symlinked by an alternative name.
2018-07-30 19:48:17 +05:30
Kishore Nallan
8bbfef8d44
Clear stray timeout.
2018-03-24 21:24:01 +05:30