You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* expose openNumericKeysDict, requires a write/read argument.
replaces all OpenNumericIndex calls.
* fork gc -initialiize index pointer only once
rename createIndex to createPopulateTermsInvIndex
add function to tests/index_utils
generalize FGCTest suit
add inheriting suite for tags
some cosmetics in cpp_range
ExtTest.testDynamicLoading: log when assert fails (the test halts upon assertion and the log will be nerver pronted)
in IndexTest and QueryTest use IndexSpec_RemoveFromGlobals instead of StrongRef_Release to ensure the spec is properly cleaned
otherwise some structs like the global prefix trie nodes, potentially accessed by following tests, might hold a copy of the spec refrence that was already released and cuase a crash.
* add inverted index total size to the numeric tree root
update in gc and in addition
add cpp_range test and cpp_forkgc test
* FIX:
decrease gc->stats.totalCollected by bytesAdded to not count bytes added by us
remove reseting currNode->range->invertedIndexSize in applyNumIdx called upon each node recieved from the child process
instead, we will count the memory released when trimming the empty leaves
call IndexSpec_TotalMemUsage from RediSearch_MemUsage instead of code duplication
add IndexSpec_collect_numeric_overhead that counts the memory of NumericRangeTree in a given spec
call this function to add it to IndexSpec_TotalMemUsage
update LLApiTest testInfo* accordingly
* fixes
* fix new cpp forkgc test
* fix unsafe read
* fix status check
* numeric tree debug commands - if tree was not intizlied yet, reply as if it was an empty tree
* fix reset range->invertedIndexSize in applyNumIdx when index is empty.
it will be counted when the range is deleted
* add initial inverted index size if numeric to test
don't intialize the numeric inverted index in the child if it's empty
* fix gc warning
* little fix
* changes rt->invertedIndexSize to rt->invertedIndexesSize
fix IndexSpec_collect_numeric_overhead and add test
fix sending NULL to FGC_sendFixed
* CalculateNumericInvertedIndexMemory fix identation and break when failing
* rename openNumericKeysDict variable write to initialize and change type to bool
* change OPEN_INDEX_READ to DONT_CREATE_INDEX
and OPEN_INDEX_WRITE to CREATE_INDEX
add coments to tests
* use Likst instead of list to support older python versopns
* remove type from function args
* fix
---------
Co-authored-by: GuyAv46 <guy.avimor@gmail.com>
0 commit comments