Add test for OOD during indexing (#4267)

* Add test for OOD during indexing

* Start indexing right after 1st OOD message

* Only send search request after insert loop

* Fail early when encountering out-of-storage during optimization (#4578)

* fs4@0.8.4

* fail early on low storage

* move `dir_size` to `common`

* move the ood bailout to `SegmentOptimizer::optimized_segment_builder`

* drop dead code

* move dir_size to common subcrate

---------

Co-authored-by: generall <andrey@vasnetsov.com>

---------

Co-authored-by: xhjkl <xhjkl@users.noreply.github.com>
Co-authored-by: generall <andrey@vasnetsov.com>
This commit is contained in:
tellet-q
2024-06-29 22:40:18 +02:00
committed by GitHub
parent 28a6c9bedc
commit c88f10c19f
9 changed files with 159 additions and 26 deletions

View File

@@ -195,10 +195,14 @@ jobs:
working-directory: ./tests/low-ram
shell: bash
run: ./low-ram.sh
- name: Run low Disk test
- name: Run low Disk test - search
working-directory: ./tests/low-disk
shell: bash
run: ./low-disk.sh
- name: Run low Disk test - indexing
working-directory: ./tests/low-disk
shell: bash
run: ./low-disk.sh indexing
test-snapshot-operations-s3-minio:
runs-on: ubuntu-latest