Skip to content
This repository has been archived by the owner on Oct 1, 2021. It is now read-only.

Migration 8 #4

Merged
merged 9 commits into from
Jun 25, 2020
Merged

Migration 8 #4

merged 9 commits into from
Jun 25, 2020

Conversation

AuHau
Copy link
Member

@AuHau AuHau commented Oct 22, 2019

No description provided.

@AuHau AuHau force-pushed the migration/8-multihash_and_keys branch from 412a11d to c43e20b Compare November 6, 2019 11:08
Copy link
Member

@alanshaw alanshaw left a comment

Choose a reason for hiding this comment

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

Do you think that we should move migrations to src/migrations?

Can you explain for me the need for keys-encoding.js?

const store = await maybeWithSharding(baseStore, storageOptions)

try {
const batch = store.batch()
Copy link
Member

Choose a reason for hiding this comment

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

We can't buffer the entire contents of a repo into memory. This has to be done incrementally.

@AuHau
Copy link
Member Author

AuHau commented Nov 14, 2019

Tbh I like having the migrations separate from src. The src contains the migration's framework which the migrations does not directly belong to.

Regarding the key-encoding this is related to ipfs/js-ipfs#1937 but as mentioned in related PR ipfs/js-ipfs#2410 I am not sure if it is needed (please see the PR and comment there if possible)

@achingbrain
Copy link
Member

Tests are failing in the browser due to ipfs/js-stores#198

@achingbrain
Copy link
Member

achingbrain commented Jun 9, 2020

Depends on:

- [ ] ipfs/js-datastore-idb#7

Not any more - we've switched back to datastore-level in the browser until ipfs/js-stores#198 is resolved.

@achingbrain achingbrain merged commit 5e1a52c into master Jun 25, 2020
@achingbrain achingbrain deleted the migration/8-multihash_and_keys branch June 25, 2020 11:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants