Skip to content

Commit 4e4eaea

Browse files
tolbertamolim7t
authored andcommitted
JAVA-939 Add crcCheckChance to TableOptionsMetadata#equals/hashCode.
1 parent b531ee4 commit 4e4eaea

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

changelog/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
- [new feature] Prepare API for async query trace (JAVA-902)
1111
- [new feature] Add BoundStatement#unset (JAVA-930)
1212
- [bug] Make table metadata options class visible (JAVA-946)
13+
- [bug] Add crcCheckChance to TableOptionsMetadata#equals/hashCode (JAVA-939)
1314

1415

1516
### 3.0.0-alpha3

driver-core/src/main/java/com/datastax/driver/core/TableOptionsMetadata.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,13 +391,14 @@ public boolean equals(Object other) {
391391
Objects.equal(this.maxIndexInterval, that.maxIndexInterval) &&
392392
Objects.equal(this.compaction, that.compaction) &&
393393
Objects.equal(this.compression, that.compression) &&
394+
Objects.equal(this.crcCheckChance, that.crcCheckChance) &&
394395
Objects.equal(this.extensions, that.extensions);
395396
}
396397

397398
@Override
398399
public int hashCode() {
399400
return Objects.hashCode(isCompactStorage, comment, readRepair, localReadRepair, replicateOnWrite, gcGrace,
400401
bfFpChance, caching, populateCacheOnFlush, memtableFlushPeriodMs, defaultTTL, speculativeRetry,
401-
indexInterval, minIndexInterval, maxIndexInterval, compaction, compression, extensions);
402+
indexInterval, minIndexInterval, maxIndexInterval, compaction, compression, crcCheckChance, extensions);
402403
}
403404
}

0 commit comments

Comments
 (0)