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

Fix namespace before ready #98

Merged
merged 2 commits into from
Nov 28, 2024
Merged

Fix namespace before ready #98

merged 2 commits into from
Nov 28, 2024

Conversation

chm-diederichs
Copy link
Contributor

No description provided.

@chm-diederichs chm-diederichs changed the base branch from main to v7 November 28, 2024 17:01
@mafintosh mafintosh merged commit 3f615ea into v7 Nov 28, 2024
@mafintosh mafintosh deleted the v7-namespace-hang branch November 28, 2024 19:27
mafintosh added a commit that referenced this pull request Jan 14, 2025
* v7 wip

* missing getter on CoreTracker

* forward user preload to core

* add back sessions and namespaces

* missing encryption key

* must wait for root in sessions

* or null

* decode keys

* add some compat fields

* wait should default to true

* root core store closes all cores

* switch to rocksdb branch

* update package.json

* primaryKey can be optionally passed in

* global cache

* support setNamespace for mutating the ns if you know what you are doing

* Fix namespace before ready (#98)

* add hanging namespace test

* fix deadlock

---------

Co-authored-by: Mathias Buus <[email protected]>

* add week ref test

* kill bootstrap and move to simple from key (#100)

* kill bootstrap and move to simple from key

* kill more

* serial line killer

* test for preready sessions

* missing close

* Session manager (#101)

* wip

* fix mutation during iteration

* move ready down

* limit preload usage (#102)

* Support passing encryption in preload (#103)

* support passing encryption from preload

* init isBlockKey also

* forward writable option

---------

Co-authored-by: Mathias Buus <[email protected]>

* pre tag with 7

* cores.get supports buffers

* Fix get (#104)

* we fixed the wrong typo

* add watch/unwatch for monitoring core flows

* pin to specific hash tmp

* v7 bump to hypercore 11 (#105)

* bump to hypercore 11

* updated storage api

* remove stale arg

* correctly set primary key if parallel

* condense

* this.primaryKey may be set in constructor

* tweak core setup to use alias and fix open

* test aliases

* docs

* also decode dkey since public

* basic replication test

---------

Co-authored-by: Christophe Diederichs <[email protected]>
Co-authored-by: Christophe Diederichs <[email protected]>
Co-authored-by: HDegroote <[email protected]>
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