We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab18bde commit cea70f4Copy full SHA for cea70f4
core/src/main/java/org/elasticsearch/index/engine/Engine.java
@@ -361,7 +361,7 @@ public Operation.TYPE getOperationType() {
361
362
void setTranslogLocation(Translog.Location translogLocation) {
363
if (freeze.get() == null) {
364
- assert failure == null || translogLocation == null: "failure has to be null to set translog location";
+ assert failure == null : "failure has to be null to set translog location";
365
this.translogLocation = translogLocation;
366
} else {
367
throw new IllegalStateException("result is already frozen");
0 commit comments