Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cmsc818fall2023projects
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Peter Keleher
cmsc818fall2023projects
Commits
4bcf30c3
Commit
4bcf30c3
authored
1 year ago
by
Peter J. Keleher
Browse files
Options
Downloads
Patches
Plain Diff
auto
parent
51d0a11b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
notes/salt.md
+11
-6
11 additions, 6 deletions
notes/salt.md
with
11 additions
and
6 deletions
notes/salt.md
+
11
−
6
View file @
4bcf30c3
...
@@ -24,11 +24,16 @@ Issues:
...
@@ -24,11 +24,16 @@ Issues:
-
non-repeatable reads
-
non-repeatable reads
-
phantom
-
phantom
## Big Things
-
BASE transactions
-
salt isolation
-
clever names
## BASE transactions
## BASE transactions
-
**alkaline**
subtransactions
-
**alkaline**
subtransactions
-
no other transactions can see state of
*uncommitted alkaline subtrans*
-
no other transactions can see state of
*uncommitted alkaline subtrans*
-
**committed**
alk subtrans state viewable by other BASE or alkaline transactions
-
**committed**
alk subtrans state viewable by other BASE or alkaline transactions
-
*not visible*
until entire BASE commit.
-
*not visible*
(to ACID?)
until entire BASE commit.
-
**salt isolation**
allows control of internal states visibility (among other BASE transactions)
-
**salt isolation**
allows control of internal states visibility (among other BASE transactions)
-
each alkaline sub has associated
*exception*
-
each alkaline sub has associated
*exception*
-
*BASE transactions look like ACID transactions to other ACID transactions*
-
*BASE transactions look like ACID transactions to other ACID transactions*
...
@@ -43,11 +48,11 @@ Issues:
...
@@ -43,11 +48,11 @@ Issues:
that exists between the earlier and the later of these operations must extend to the
that exists between the earlier and the later of these operations must extend to the
entire transaction"
*
(allows SALT to work w/ different isolation levels)
entire transaction"
*
(allows SALT to work w/ different isolation levels)
*Isolation:*
Let Q be the set of operation types {read, range-read, write} and let L and S
*Isolation:*
Let Q be the set of operation types {
*
read
*
,
*
range-read
*
,
*
write
*
} and let L and S
be subsets of Q . Further, let
o1
in txn
1
and
o2
in txn
2
, be two operations, respectively
be subsets of Q . Further, let
$o_1$
in
$
txn
_1$
and
$o_2$
in
$
txn
_2$
, be two operations, respectively
of type
T1
∈ L and
T2
∈ S , that access the same object in a conflicting
of type
$T_1$
∈ L and
$T_2$
∈ S , that access the same object in a conflicting
(i.e. non read-read) manner.
**
If
o1
completes before
o2
starts, then txn
1
must decide
(i.e. non read-read) manner.
**
If
$o_1$
completes before
$o_2$
starts, then
$
txn
_1$
must decide
before
o2
starts.
**
before
$o_2$
starts.
**
Isolation property holds if at least one is ACID, or both are alkaline.
Isolation property holds if at least one is ACID, or both are alkaline.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment