Comments (2)
Incorrect result:
rust - ('tester_output', 'stack', 50, 386) = b'\x01RESULT_NOT_PRESENT\x00'
python - ('tester_output', 'stack', 50, 386) = b'\x01\x01ERROR\x00\xff\x011020\x00\xff\x00'
Python is failing with 1020
error code: which means Transaction not committed due to conflict with another transaction
. Rust has RESULT_NOT_PRESENT
, which means everything is fine
For seed 4275610547, we have:
- Instruction is COMMIT
- Instruction is WAIT_FUTURE
- Instruction is RESET // New transaction
- Instruction is PUSH
- Instruction is DIRECTORY_CHANGE
- Instruction is PUSH
- Instruction is PUSH
- Instruction is PUSH
- Instruction is PUSH
- Instruction is DIRECTORY_MOVE
- Instruction is PUSH
- Instruction is DIRECTORY_CHANGE
- Instruction is PUSH
- Instruction is PUSH
- Instruction is DIRECTORY_OPEN
- Instruction is PUSH
- Instruction is PUSH
- Instruction is DIRECTORY_MOVE_TO_DATABASE
- Instruction is WAIT_FUTURE
- Instruction is RESET
All faulty seeds seems to occured before an DIRECTORY_MOVE_TO_DATABASE
, which is runned in a standalone transaction.
from foundationdb-rs.
Adding new seed:
+ ./bindings/bindingtester/bindingtester.py --num-ops 1000 --api-version 630 --test-name directory --concurrency 1 rust --no-directory-snapshot-ops --compare python
Creating test at API version 630
Generating directory test at seed 2665254911 with 1000 op(s) and 1 concurrent tester(s)...
Inserting test into database...
Running tester '/home/runner/work/foundationdb-rs/foundationdb-rs/target/debug/bindingtester test_spec 630'...
Reading results from '('tester_output', 'stack')'...
Reading results from '('tester_output', 'directory_log', 'directory')'...
Reading results from '('tester_output', 'directory_log', 'subspace')'...
Inserting test into database...
Running tester 'python /home/runner/work/foundationdb-rs/foundationdb-rs/target/foundationdb_build/foundationdb/bindings/bindingtester/../python/tests/tester.py test_spec 630'...
Reading results from '('tester_output', 'stack')'...
Reading results from '('tester_output', 'directory_log', 'directory')'...
Reading results from '('tester_output', 'directory_log', 'subspace')'...
Comparing results from '('tester_output', 'stack')'...
Incorrect result:
rust - ('tester_output', 'stack', 476, 4361) = b'\x01RESULT_NOT_PRESENT\x00'
python - ('tester_output', 'stack', 476, 4361) = b'\x01\x01ERROR\x00\xff\x011020\x00\xff\x00'
Comparing results from '('tester_output', 'directory_log', 'directory')'...
Comparing results from '('tester_output', 'directory_log', 'subspace')'...
Test with seed 2665254911 and concurrency 1 had 1 incorrect result(s) and 0 error(s) at API version 630
Completed directory test with random seed 2665254911 and 1000 operations
from foundationdb-rs.
Related Issues (20)
- add a `update_metadata_version`
- Publish `0.6.0` on crates.io HOT 4
- Fix 584458794
- Enable traces on BindingTester
- Add support for `7.1` HOT 1
- Deprecate support for 5.X
- Implement Eq and Hash traits for Subspace HOT 5
- Backport other recipes
- Use `run` in the class-sheduling example
- Query issue HOT 5
- Add clarification about get_range* methods HOT 3
- Issues in the Class Scheduling example (class-scheduling.rs) HOT 4
- Clarify the correct use of unsafe HOT 5
- Add a `db.run_with_options` methods
- 0.7 could not compile `foundationdb` HOT 2
- Add support for 7.2 HOT 1
- Fix misaligned pointer dereference on Rust beta and nightly HOT 3
- Fix infinite recursion on Display impl
- Bump dependencies
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 foundationdb-rs.