Skip to content

Commit a009918

Browse files
pxsalehitlrx
andauthored
Update server/src/main/java/org/elasticsearch/index/engine/InternalEngine.java
Co-authored-by: Tanguy Leroux <[email protected]>
1 parent 82d09a2 commit a009918

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -835,7 +835,7 @@ protected GetResult realtimeGetUnderLock(
835835
} else {
836836
trackTranslogLocation.set(true);
837837
// We need to start tracking translog locations in the live version map. Refresh and
838-
// serve the get from the internal searcher.
838+
// serve the get from the internal searcher even if we're supposed to only get from translog.
839839
assert versionValue.seqNo >= 0 : versionValue;
840840
refreshIfNeeded("realtime_get", versionValue.seqNo);
841841
return getFromSearcher(get, acquireSearcher("realtime_get", SearcherScope.INTERNAL, searcherWrapper), false);

0 commit comments

Comments
 (0)