Skip to content

Commit b2e1a12

Browse files
committed
PERF-5725 Add comments to the xmls
1 parent e1211f0 commit b2e1a12

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

ycsb-mongodb/mongodb/pom.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@
2424
<artifactId>core</artifactId>
2525
<version>${project.version}</version>
2626
</dependency>
27+
<!-- mongodb-driver-sync defines snappy-java and zstd-jni dependencies as optional.
28+
They need to be repeated here to support compression. See:
29+
https://www.mongodb.com/docs/drivers/java/sync/current/fundamentals/connection/network-compression/ -->
2730
<dependency>
2831
<groupId>org.xerial.snappy</groupId>
2932
<artifactId>snappy-java</artifactId>

ycsb-mongodb/pom.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@
5353
<!-- Properties Management -->
5454
<properties>
5555
<maven.assembly.version>2.2.1</maven.assembly.version>
56+
<!-- mongodb, snappy and zstd versions need to be updated together. see:
57+
https://www.mongodb.com/docs/drivers/java/sync/current/fundamentals/connection/network-compression/ -->
5658
<mongodb.version>4.7.0</mongodb.version>
5759
<snappy.version>1.1.8.4</snappy.version>
5860
<zstd.version>1.5.0-4</zstd.version>

0 commit comments

Comments
 (0)