We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 260bcd7 commit 24af21cCopy full SHA for 24af21c
tests/integration_tests.rs
@@ -336,7 +336,7 @@ async fn txn_bank_transfer() -> Result<()> {
336
337
let people = gen_u32_keys(NUM_PEOPLE, &mut rng);
338
let mut txn = client
339
- .begin_with_options(TransactionOptions::new_optimistic().try_one_pc())
+ .begin_with_options(TransactionOptions::new_optimistic())
340
.await?;
341
let mut sum: u32 = 0;
342
for person in &people {
tikv-client-pd/src/cluster.rs
@@ -99,8 +99,8 @@ impl Connection {
99
let tso = TimestampOracle::new(id, &client)?;
100
let cluster = Cluster {
101
id,
102
- members,
103
client,
+ members,
104
tso,
105
};
106
Ok(cluster)
0 commit comments