CodableDatastore icon indicating copy to clipboard operation
CodableDatastore copied to clipboard

An ACID-compliant database written in pure-swift enabling on-disk persistence for apps and services.

Results 30 CodableDatastore issues
Sort by recently updated
recently updated
newest added
trafficstars

The Date in the index is encoded with milliseconds precision, but this may not match the in memory representation nor the persisted representation. For not, don't use indexes involving floats....

bug

This adds a retention policy for older edits, so they don't accumulate. Although functional, this is still a work in progress as TODOs are cleaned up and patches are made...

Currently, we need to iterate over all datastores to know if the root ID belongs to it. This would make that process more efficient for iterations that have been newly...

Perhaps we would need a .allowsCachedReads option to make it explicit that an in-progress write will be ignored?

This should detect un-referenced files in a snapshot, and delete them.

This test helper should be able to assert if it detects any extra files, and allow id-less detection of all objects. This can help make sure the store behaves deterministically.

If the task that calls into a ranged load operation is cancelled, the task may deadlock and never proceed past the load call.

Ideally, the types should be detected to be incompatible, and a full migration should be kicked off. Maybe an entry is loaded and the ID decoding is tested at that...

This can happen as soon as the transaction closure returns, but before writes. Another transaction can safely rely on this state being the common ground at this point, as any...

For instance, only create if does not exist, or only update if does exist. These cases are more rare, but the default behavior should be obvious so folks don't accidentally...