adv-db-project's People
adv-db-project's Issues
Create a design doc
As a developer
I need a design document including all the major functions, their inputs, outputs side effects, major components, relationships between the components, and communication between components
So that I have a clear picture when implementing the distributed database system
Assumptions:
- Based on the project requirements
- Optimize the system as much as possible
- This design document is subject to change
Acceptance Criteria
When I look at the design document
Then I will know how to implement each function and integrate them
Create project startup code
As a developer
I need a startup code
So that there will be fewer merge conflicts as the code is more consistent by modifying on the startup code
Assumptions:
- use Java
Acceptance Criteria
Given the startup code
When running the RepCRecDB class
Then we can see some dumping information about the TM and DMs
Support single-line comments in test file
As a...
I need...
So that...
Assumptions:
- ...
Acceptance Criteria
Given ...
When ...
Then ...
handle `write` instruction
Add waitForGraph to detect deadlock
Handle recover instructions
As a...
I need...
So that...
Assumptions:
- ...
Acceptance Criteria
Given ...
When ...
Then ...
Add testcase description
According to project requirement:
In addition, you should provide a few testing scripts in plain text to the grader in the format above and say what you believe will happen in each test.
Add abort reason
As a...
I need...
So that...
Assumptions:
- ...
Acceptance Criteria
Given ...
When ...
Then ...
handle read-only Transaction `read` instruction
Ignore instructions from transactions that has finished or aborted
handle normal `read` instruction
fix the behavior of obtaining lock
handle `end` instruction
Handle begin and beginRO instructions
As a...
I need...
So that...
Assumptions:
- ...
Acceptance Criteria
Given ...
When ...
Then ...
add multi-read-lock information in lock table
Add input reading and parsing
As a...
I need...
So that...
Assumptions:
- Read from file or standard input
Acceptance Criteria
Given ...
When ...
Then ...
Handle fail instruction
As a...
I need...
So that...
Assumptions:
- ...
Acceptance Criteria
Given ...
When ...
Then ...
Run test cases automatically
As a...
I need...
So that...
Assumptions:
- ...
Acceptance Criteria
Given ...
When ...
Then ...
handle readRO instruction and create snapshots
As a...
I need...
So that...
Assumptions:
- ...
Acceptance Criteria
Given ...
When ...
Then ...
Complete function description
**According to project's requirement: **
The submitted code similarly should include as a header: the author (if you are working in a team of two), the date, the general description of the function, the inputs, the outputs, and the side effects.
Detect deadlock only when new edge added
Deadlock detection need not happen at every tick. When it does, it should happen at the beginning of the tick.
Add edges from current transaction to every transactions waiting before it
refine `read` operations
Fix the handling of `write` instruction
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.