Skip to content

Commit e33744c

Browse files
committed
remove replica
1 parent b1e673d commit e33744c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

server/src/main/java/org/elasticsearch/index/engine/SafeEngineAccessThreadLocal.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ public static void accessEnd() {
8383
* Use this method to assert that the current thread has not entered a protected execution code block.
8484
*/
8585
public static void checkAccess() {
86-
ensureAssertionsEnabled();
8786
final var accessor = getAccessorSafe();
8887
if (accessor != null) {
8988
var message = "thread [" + accessor + "] should not access the engine using the getEngineOrNull() method";

0 commit comments

Comments
 (0)