Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Allow adding non-ready cores #24

Merged
merged 3 commits into from
Nov 28, 2023

Conversation

gmaclennan
Copy link
Member

@gmaclennan gmaclennan commented Nov 24, 2023

Fixes #23. Stacked on #22. Changes responsibility for storage creation and closure to CoreIndexStream, and storage is only created once the core is ready.

@gmaclennan gmaclennan self-assigned this Nov 24, 2023
@gmaclennan gmaclennan requested a review from achou11 November 24, 2023 03:15
@gmaclennan gmaclennan merged commit 6e665e4 into feat/initial-indexing-state Nov 28, 2023
3 checks passed
@gmaclennan gmaclennan deleted the feat/non-ready-cores branch November 28, 2023 12:36
gmaclennan added a commit that referenced this pull request Nov 28, 2023
* WIP change initial state to indexing

* fix: initial state is 'indexing'

* cache drained state to improve perf

* initial state test cleanup

* test re-indexing when indexes cleared

* test multiple await idle()

* switch tests to use new idle() method

* add test for mix of empty and filled cores

* idle start with no cores, adding core = indexing

* fix awaiting idle when already idle

* feat: Allow adding non-ready cores (#24)

* feat: Allow adding non-ready cores

Fixes #23

* run CI on stacked PRs

* fix types

* rename throttledDrain fn
EvanHahn added a commit that referenced this pull request Jan 17, 2024
We no longer require cores to be ready as of
89ac7ae ([pull request #24][0]). This
updates the docs to reflect that.

[0]: #24
EvanHahn added a commit that referenced this pull request Feb 22, 2024
We no longer require cores to be ready as of
89ac7ae ([pull request #24][0]). This
updates the docs to reflect that.

[0]: #24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants