4 Commits

Author SHA1 Message Date
Andrey Vasnetsov
4fd9b4dd1c allow to configure qdrant init file with env variable (#2316)
* allow to configure qdrant init file with env variable

* Return path type from get_init_file_path

---------

Co-authored-by: timvisee <tim@visee.me>
2023-07-31 11:41:37 +02:00
Andrey Vasnetsov
e2fb3d74cf use bash in the entrypoint.sh for good traps 2023-05-25 19:09:05 +02:00
Andrey Vasnetsov
8dd7f61a78
it's a trap! (#1975) 2023-05-25 16:10:35 +02:00
Roman Titov
93d784f269 Improve handling out-of-RAM errors during Qdrant startup (#1777)
* WIP: Start working on out-of-RAM errors handling [skip ci]

* Implement basic handling of out-of-RAM errors during Qdrant startup

* Try to fix CI fail by allowing both V1 and V2 cgroups

* Try to fix CI fail by improving cgroups handling

* Fix cgroups path detection/handling (+ some minor stylistic changes)

* fixup! Fix cgroups path detection/handling (+ some minor stylistic changes)

* Add test

* Enable low RAM test

* fixup! Add test

* free memory checks

* rm unused function

* Oom fallback script (#1809)

* add recover mode in qdrant + script for handelling OOM

* fix clippy

* reformat entrypoint.sh

* fix test

* add logging to test

* fix test

* fix test

---------

Co-authored-by: Andrey Vasnetsov <andrey@vasnetsov.com>
2023-05-17 11:21:48 +02:00