Comments (3)
Cheap solution: randomize initial version.
Precise solution: check tx_id
and tx_version
in the prepare phase.
Randomizing initial version almost fix the issue except 1/2^32 of collision.
tx_id
is a UUIDv4 value newly generated for each transaction, so the collision is neglectable. Checking two values may impact the performance, although it might not be significant.
from scalardb.
@Yonezawa-T2 Thanks. That randomize solution sounds a bit tricky and makes verification more difficult.
Checking tx_id additionally might be good enough for this.
I feel introducing logical delete and guaranteeing monotonic version increase would probably be good from many perspectives as well. Physical delete is a bit scary from verification perspective actually. (it depends how well C*/underlining conditional delete is implemented)
from scalardb.
It is closed since it is fixed.
@Yonezawa-T2 Thank you very much for the report.
from scalardb.
Related Issues (20)
- Backport to branch(3.7) failed: Fix Oracle 23 CI
- Backport to branch(3.6) failed: Fix Oracle 23 CI
- Backport to branch(3.10) failed: Bump scalar-labs/jre8 from 1.1.14 to 1.1.15 in /server HOT 1
- Backport to branch(3.9) failed: Bump scalar-labs/jre8 from 1.1.14 to 1.1.15 in /server HOT 1
- Backport to branch(3.8) failed: Bump scalar-labs/jre8 from 1.1.14 to 1.1.15 in /server HOT 1
- Backport to branch(3.7) failed: Bump scalar-labs/jre8 from 1.1.14 to 1.1.15 in /server HOT 1
- Backport to branch(3.6) failed: Bump scalar-labs/jre8 from 1.1.14 to 1.1.15 in /server HOT 1
- Backport to branch(3.10) failed: Bump org.eclipse.jetty:jetty-servlet from 9.4.52.v20230823 to 9.4.53.v20231009 HOT 1
- Backport to branch(3.9) failed: Bump org.eclipse.jetty:jetty-servlet from 9.4.52.v20230823 to 9.4.53.v20231009 HOT 1
- Backport to branch(3.8) failed: Bump org.eclipse.jetty:jetty-servlet from 9.4.52.v20230823 to 9.4.53.v20231009 HOT 1
- Backport to branch(3.7) failed: Bump org.eclipse.jetty:jetty-servlet from 9.4.52.v20230823 to 9.4.53.v20231009 HOT 1
- Backport to branch(3.6) failed: Bump org.eclipse.jetty:jetty-servlet from 9.4.52.v20230823 to 9.4.53.v20231009 HOT 1
- Backport to branch(3.10) failed: Revise the contents of the storage abstraction doc HOT 1
- Backport to branch(3.9) failed: Revise the contents of the storage abstraction doc HOT 1
- Backport to branch(3.9) failed: Add missing scripts for Auto-PR
- Backport to branch(3.10) failed: Split release.yaml to two sub workflows HOT 1
- Backport to branch(3.9) failed: Split release.yaml to two sub workflows HOT 1
- Backport to branch(3.8) failed: Split release.yaml to two sub workflows HOT 1
- Backport to branch(3.7) failed: Split release.yaml to two sub workflows HOT 1
- Backport to branch(3.6) failed: Split release.yaml to two sub workflows HOT 1
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.
from scalardb.