Skip to content

Commit b9e7d54

Browse files
authored
Clean up post merge of release/azure_data_cosmos-previews (#4441)
Addresses the feedback from #4429
1 parent 42560e0 commit b9e7d54

7 files changed

Lines changed: 15 additions & 27 deletions

File tree

.vscode/cspell.json

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@
3030
"azsdk",
3131
"azurecli",
3232
"bugbug",
33+
"callsite",
34+
"callsites",
3335
"checkpointstore",
3436
"clippy",
3537
"codeowners",
@@ -40,6 +42,7 @@
4042
"cpus",
4143
"datalake",
4244
"datetime",
45+
"decorrelates",
4346
"deserializers",
4447
"devicecode",
4548
"docsrs",
@@ -52,6 +55,7 @@
5255
"eventhub",
5356
"eventhubs",
5457
"execdir",
58+
"finalizer",
5559
"fips",
5660
"hmac",
5761
"hostname",
@@ -89,8 +93,8 @@
8993
"schannel",
9094
"seekable",
9195
"servicebus",
92-
"splitmix",
9396
"spector",
97+
"splitmix",
9498
"startswith",
9599
"stylesheet",
96100
"subclient",
@@ -105,13 +109,7 @@
105109
"webpki",
106110
"windowspool",
107111
"windowsvmimage",
108-
"webpki",
109-
"worktree",
110-
"decorrelates",
111-
"finalizer",
112-
"callsite",
113-
"callsites",
114-
"footgun"
112+
"worktree"
115113
],
116114
"dictionaryDefinitions": [
117115
{

Cargo.toml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -82,18 +82,6 @@ version = "1.0.0"
8282
[workspace.dependencies.azure_storage_blob]
8383
version = "1.0.0"
8484

85-
[workspace.dependencies.azure_data_cosmos]
86-
version = "0.34.0"
87-
path = "sdk/cosmos/azure_data_cosmos"
88-
89-
[workspace.dependencies.azure_data_cosmos_driver]
90-
default-features = false
91-
version = "0.3.0"
92-
path = "sdk/cosmos/azure_data_cosmos_driver"
93-
94-
[workspace.dependencies.azure_data_cosmos_macros]
95-
version = "0.1.0"
96-
9785
[workspace.dependencies]
9886
async-lock = "3.4"
9987
async-stream = { version = "0.3.6" }

sdk/cosmos/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Temp files generated by agents/skills
2+
.temp/

sdk/cosmos/azure_data_cosmos/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ categories = ["api-bindings"]
1717
async-lock.workspace = true
1818
async-trait.workspace = true
1919
azure_core = { workspace = true, default-features = false }
20-
azure_data_cosmos_driver = { workspace = true, default-features = false }
20+
azure_data_cosmos_driver = { version = "0.3.0", path = "../azure_data_cosmos_driver", default-features = false }
2121
base64.workspace = true
2222
futures.workspace = true
2323
pin-project.workspace = true
@@ -48,7 +48,7 @@ azure_core_test = { workspace = true, features = ["tracing"] }
4848
# enable extra functionality only during tests. Cargo unions features across
4949
# dependency tables, so the production crate still gets its full feature set —
5050
# this entry only adds the internal test feature.
51-
azure_data_cosmos_driver = { workspace = true, default-features = false, features = [
51+
azure_data_cosmos_driver = { path = "../azure_data_cosmos_driver", default-features = false, features = [
5252
"__internal_test_diagnostics_construction",
5353
] }
5454
azure_identity.workspace = true

sdk/cosmos/azure_data_cosmos_driver/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ async-trait.workspace = true
2121
azure_core = { workspace = true, default-features = false, features = [
2222
"hmac_rust",
2323
] }
24-
azure_data_cosmos_macros.workspace = true
24+
azure_data_cosmos_macros.version = "0.1.0"
2525
base64.workspace = true
2626
bytes.workspace = true
2727
crossbeam-epoch = { workspace = true, features = ["std"] }

sdk/cosmos/azure_data_cosmos_driver/docs/HEDGING_SPEC.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Cross-Region Hedging Availability Strategy Spec
22

3-
**Status:** Draft
3+
**Status:** Draft
44
**Date:** 2026-05-14
5-
**Authors:** (team)
5+
**Authors:** (team)
66
**Crate:** `azure_data_cosmos_driver`
77

88
---
@@ -1918,7 +1918,7 @@ behavior of every other awaited operation in the driver.
19181918
> flight to multiple regions simultaneously via async replication.
19191919
> - Adoption in Java v4 has been near-zero; the operational surprise
19201920
> of a "successful" hedge that produces a 409 on the loser-region
1921-
> replay is consistently called out as a footgun.
1921+
> replay is consistently called out as a frequent customer issue.
19221922
> - Single-master writes have never been hedged in any SDK; PPAF
19231923
> handles write failover for single-master.
19241924
>

sdk/cosmos/azure_data_cosmos_perf/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ rust-version.workspace = true
1212
[dependencies]
1313
async-trait.workspace = true
1414
azure_core = { workspace = true, features = ["reqwest"] }
15-
azure_data_cosmos = { workspace = true, features = ["key_auth"] }
15+
azure_data_cosmos = { path = "../azure_data_cosmos", features = ["key_auth"] }
1616
azure_identity.workspace = true
1717
clap = { workspace = true, features = ["derive", "env"] }
1818
futures.workspace = true

0 commit comments

Comments
 (0)