-
Notifications
You must be signed in to change notification settings - Fork 54
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 batchable datastore support #683
Comments
For reference, including discord discussion by John and Andy on this: John: we can deprecate it. to prob run with BADGER_FILE and BADGER_MEMORY. just not MAP Andy: Without defra map we won't be testing the batchable shim, I would be much much comfier if we only remove defra_map if we also drop support for non-transactional ipfs datastores (and remove related code in the same pr that removes defra_map) John: Yes, this is what I meant by deprecated. It's not worth all the shim magic I think. Unless we can identify an explicit example of a data store we'd like to use/explore that didn't have transactions. |
Currently the default for the DB integration test is run on map and badger in memory |
Update: CI runs badger file and badger IM |
DEFRA_MAP
in v0.4
Cannot remove batchable support atm as node depends on ipfslite which requires a Batchable datastore. This looks like this may no longer be a problem after #739 Marking this as blocked until #739 is merged, at which point this can be looked at again There is a wip branch for this task here: https://github.com/sourcenetwork/defradb/pull/new/sisley/refactor/I683-rm-batchable |
Relevant issue(s) Resolves #738 Description This PR removes our direct dependency on ipfslite. It is still an indirect dependency simply because it's used by an other package we import. Not from a function that we use but from a test of that package. Note that some commented code will need to be uncommented once #683 is resolved. Although a ds.Batching implementing datastore needs to be used for the DHT within the net package, as long as badgerds.Datastore keeps the Batch method, the should have no problem.
Blocked by #945 |
Relevant issue(s) Resolves #683 Description This PR change the requirement for our supported datastore to implement both ds.Batching and ds.TxnDatastore. This means that the map datastore is no longer supported.
Relevant issue(s) Resolves sourcenetwork#738 Description This PR removes our direct dependency on ipfslite. It is still an indirect dependency simply because it's used by an other package we import. Not from a function that we use but from a test of that package. Note that some commented code will need to be uncommented once sourcenetwork#683 is resolved. Although a ds.Batching implementing datastore needs to be used for the DHT within the net package, as long as badgerds.Datastore keeps the Batch method, the should have no problem.
…work#940) Relevant issue(s) Resolves sourcenetwork#683 Description This PR change the requirement for our supported datastore to implement both ds.Batching and ds.TxnDatastore. This means that the map datastore is no longer supported.
Deprecate
DEFRA_MAP
environment variable as part of v0.4.The following fails currently:
The text was updated successfully, but these errors were encountered: