Skip to content
This repository has been archived by the owner on Nov 2, 2018. It is now read-only.

Contract wal #2506

Merged
merged 75 commits into from
Dec 11, 2017
Merged

Contract wal #2506

merged 75 commits into from
Dec 11, 2017

Conversation

DavidVorick
Copy link
Member

This pull request takes the contracts of the contractor and moves them to a stateful object in the proto package. The job of the proto package (which may be renamed) is to manage individual contracts, and perform simple upload/download operations on those contracts.

The biggest advantage here is clean separation of the contracts from all the rest of the state of the contractor. The contracts also now have strict safety properties, which will eliminate the race conditions that we were running into. Finally, the contracts have been moved to a highly scalable 'one file per contract' model, which means we can perform all contract operations with ACID guarantees in a constant number of disk operations, without needing to amortize any expensive operations at all.

Once this is merged and tested, we should be ready to release RC2.

lukechampine and others added 30 commits November 28, 2017 15:24
@ChrisSchinnerl ChrisSchinnerl force-pushed the contract-wal branch 2 times, most recently from 189848b to 5fdd740 Compare December 7, 2017 20:22
@lukechampine lukechampine merged commit fe90da6 into master Dec 11, 2017
@lukechampine lukechampine deleted the contract-wal branch December 18, 2017 20:12
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.

4 participants