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

rocksdb: apply operates on memory view #191

Merged
merged 48 commits into from
Nov 29, 2024
Merged

Conversation

chm-diederichs
Copy link
Contributor

No description provided.

@chm-diederichs chm-diederichs changed the base branch from main to rocksdb November 13, 2024 12:41
index.js Outdated
const promises = []

for (const { key, core, length } of indexers) {
if (core.length === 0 && length > 0) promises.push(core.get(length - 1, { timeout }))
promises.push(system.get(key, { timeout }))
promises.push(system.get(key, { debug: true, timeout }))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

debug

test/basic.js Outdated
@@ -969,7 +1023,8 @@ test('basic - non-indexed writers 3-of-5', async t => {
}
})

test('autobase should not detach the original store', async t => {
// memview failing: corestore has no detach option
test.skip('autobase should not detach the original store', async t => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@chm-diederichs you can use setNamespace to unskip this now

test/basic.js Outdated
@@ -1683,7 +1738,8 @@ test('basic - writer adds a writer while being removed', async t => {
t.is(binfo.isRemoved, true)
})

test('basic - sessions use globalCache from corestore if it is set', async t => {
// memview failing: globalCache disabled in corestore
test.skip('basic - sessions use globalCache from corestore if it is set', async t => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be fine now

@chm-diederichs chm-diederichs merged commit e95807c into rocksdb Nov 29, 2024
@chm-diederichs chm-diederichs deleted the rocksdb-memory-view branch November 29, 2024 11:01
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