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 b1e673d commit e33744cCopy full SHA for e33744c
server/src/main/java/org/elasticsearch/index/engine/SafeEngineAccessThreadLocal.java
@@ -83,7 +83,6 @@ public static void accessEnd() {
83
* Use this method to assert that the current thread has not entered a protected execution code block.
84
*/
85
public static void checkAccess() {
86
- ensureAssertionsEnabled();
87
final var accessor = getAccessorSafe();
88
if (accessor != null) {
89
var message = "thread [" + accessor + "] should not access the engine using the getEngineOrNull() method";
0 commit comments