Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems in retrieving conflicting keys after setting transaction option ReportConflictingKeys #11544

Open
YinhaoHu opened this issue Jul 31, 2024 · 1 comment

Comments

@YinhaoHu
Copy link

YinhaoHu commented Jul 31, 2024

In foundationdb-rs documentation, it is said that the transaction can retrieve the conflicting keys after setting the option ReportConflictingKeys in a transaction. See Rust Docs Foundationdb - ReportConflictingKeys

But how can I retrive the conflicting keys from txn1_result below? After I commit the transaction, there seems no way for me to retrive that in this Rust code snippet:

let txn_1 = db.create_trx().unwrap();
txn_1.set_option(options::TransactionOption::ReportConflictingKeys)
        .expect("reporting conflict keys should succeed.");
let txn1_result = txn_1.commit().await;
@xis19
Copy link
Collaborator

xis19 commented Aug 2, 2024

Maybe ask it in foundationdb-rs repo. Currently we are not supporting Rust.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants