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

Remove any added writers on reorg #172

Closed
wants to merge 11 commits into from
Closed

Conversation

chm-diederichs
Copy link
Contributor

No description provided.

index.js Outdated
@@ -1885,6 +1885,8 @@ module.exports = class Autobase extends ReadyResource {
const writer = (await this._getWriterByKey(key, -1, 0, false, true, null)) || this._makeWriter(key, 0, true)
await writer.ready()

this._applying.writers.add(key)
Copy link
Contributor

Choose a reason for hiding this comment

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

key here is a buffer so you need to make it a string to add it to the set

@mafintosh mafintosh closed this Aug 23, 2024
@mafintosh mafintosh deleted the remove-writer-reorg branch August 23, 2024 11:23
@mafintosh
Copy link
Contributor

we went with the other one

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