[WIP] feat(diskann): add macOS support via kqueue-based async IO#557
Open
richyreachy wants to merge 44 commits into
Open
[WIP] feat(diskann): add macOS support via kqueue-based async IO#557richyreachy wants to merge 44 commits into
richyreachy wants to merge 44 commits into
Conversation
… into refactor/diskann_dlopen
… into refactor/diskann_dlopen
… into refactor/diskann_dlopen
… into refactor/diskann_dlopen
The index_group_by_test uses DiskAnn indexes (guarded by #if DISKANN_SUPPORTED) to verify that group_by search is rejected for unsupported index types. However, the CMakeLists.txt for tests/core/interface/ did not link core_knn_diskann, causing the DiskAnn factory to not be registered at runtime. This resulted in IndexFactory::CreateAndInitIndex returning nullptr for DiskAnn indexes, failing the test assertion. Add core_knn_diskann to the LIBS list, consistent with how other test directories (tests/db/, tests/db/index/, tests/core/algorithm/diskann/) handle DiskAnn linking.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds diskann index support on macOS by implementing a kqueue-based asynchronous I/O backend as the macOS equivalent of Linux's libaio.
Uses BSD kqueue/kevent to monitor file descriptor readiness. Then performs the actual data transfer with pread: