Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -774,7 +774,7 @@ public void run() {
* there is a race condition with the dataWatchers that get set. Even after this object is closed() it can still be
* called by those watchers, because the close() method cannot actually disable the watcher.
* <p>
* The synchronization overhead should be minimal if non-existant as this is generally only called from the
* The synchronization overhead should be minimal if non-existent as this is generally only called from the
* ZK client thread and will only contend if close() is called in parallel with an update, and that's the exact state
* we want to protect from.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ public void testCompressedCreateAndRead() throws Exception {
assertEquals(KeeperException.DataInconsistencyException.class, e.getClass());
});

// Create with compressedFramework overriden by an uncompressedModel, read with all other clients
// Create with compressedFramework overridden by an uncompressedModel, read with all other clients
clientWithCompressedFrameworkAndUncompressedModel.delete();
complete(clientWithCompressedFrameworkAndUncompressedModel.set(rawModel), (path, e) -> assertNull(e));
complete(client.read(), (model, e) -> assertEquals(model, rawModel));
Expand Down Expand Up @@ -488,7 +488,7 @@ public void testCompressedUpdateAndRead() throws Exception {
assertEquals(KeeperException.DataInconsistencyException.class, e.getClass());
});

// Update with compressedFramework overriden by an uncompressedModel, read with all other clients
// Update with compressedFramework overridden by an uncompressedModel, read with all other clients
complete(clientWithCompressedFrameworkAndUncompressedModel.update(rawModel), (stat, e) -> assertNull(e));
complete(client.read(), (model, e) -> assertEquals(model, rawModel));
complete(clientWithUncompressedModel.read(), (model, e) -> assertEquals(model, rawModel));
Expand Down Expand Up @@ -605,7 +605,7 @@ public void testCompressedCreateOp() throws Exception {
assertEquals(KeeperException.DataInconsistencyException.class, e.getClass());
});

// Create with compressedFramework overriden by an uncompressedModel, read with all other clients
// Create with compressedFramework overridden by an uncompressedModel, read with all other clients
clientWithCompressedFrameworkAndUncompressedModel.delete();
complete(
clientWithCompressedFrameworkAndUncompressedModel.inTransaction(Collections.singletonList(
Expand Down Expand Up @@ -721,7 +721,7 @@ public void testCompressedUpdateOp() throws Exception {
assertEquals(KeeperException.DataInconsistencyException.class, e.getClass());
});

// Update with compressedFramework overriden by an uncompressedModel, read with all other clients
// Update with compressedFramework overridden by an uncompressedModel, read with all other clients
complete(
clientWithCompressedFrameworkAndUncompressedModel.inTransaction(Collections.singletonList(
clientWithCompressedFrameworkAndUncompressedModel.updateOp(rawModel))),
Expand Down