Skip to content

Commit 4becfc2

Browse files
Fixing Changelog to cut 4.4.0-beta.1 release as well as fixing new benchmark test (Azure#14512)
* Enabling query metrics by default * Adding null-value handling to quey metric validation * Fix for NPE in GatewayAddressCache * Adding comments explaining default value of QueryMetricEnabled * Adding support for readAllItems of a logical partition * Adding readAllItems for sync CosmosContainer as well * Adding basic unit test for ReadAllItems(PK) * Adding benchmark for ReadAllItems * Fixing cosmos-benchmark version as well * Fixing changelog for cosmos-encryption * Fixing versions * Fixing current version of azure-cosmos * Reverting azure-cosmos version bump * Bumping azure-cosmos version * Reverting unnecessary changelog and readme changes * Fixing azure-cosmos-benchmark to use dynamic number of precreated documents * Adding benchmark use case description * Fixing wrong StringUtils dependency * Remove unnecessary constants * Making readAllDocuments partition split safe * Moving new test in CosmosItemTest to ObjectNode instead of InternalObjectNode * Adding comment that ItemOperations readMany APIs are deprecated * Fixing changelog and new benchmark to be able to cut 4.4.0-beta.1 releas * Fixing merge conflicts * Fixing merge conflict * Iterating on changelog
1 parent 5a96582 commit 4becfc2

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

sdk/cosmos/azure-cosmos-benchmark/src/main/java/com/azure/cosmos/benchmark/AsyncBenchmark.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,7 @@ private boolean latencyAwareOperations(Configuration.Operation operation) {
267267
case QueryAggregateTopOrderby:
268268
case QueryTopOrderby:
269269
case Mixed:
270+
case ReadAllItemsOfLogicalPartition:
270271
return true;
271272
default:
272273
return false;
@@ -364,4 +365,4 @@ protected Mono sparsityMono(long i) {
364365
}
365366
else return null;
366367
}
367-
}
368+
}

sdk/cosmos/azure-cosmos-benchmark/src/main/java/com/azure/cosmos/benchmark/Main.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ private static void asyncBenchmark(Configuration cfg) throws Exception {
120120
case QueryTopOrderby:
121121
case QueryAggregateTopOrderby:
122122
case QueryInClauseParallel:
123+
case ReadAllItemsOfLogicalPartition:
123124
benchmark = new AsyncQueryBenchmark(cfg);
124125
break;
125126

sdk/cosmos/azure-cosmos/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Release History
22

3-
## 4.4.0-beta.1 (Unreleased)
3+
## 4.4.0-beta.1 (2020-08-27)
44
* Added new API to efficiently load many documents (via list of pk/id pairs or all documents for a set ok pk values)
55
* Enabled query metrics by default
66
* Fixed NPE in GatewayAddressCache

0 commit comments

Comments
 (0)