this.enableGcDeletes = enableGcDeletes;
}
public GetResult get(Get get) throws EngineException {
try (InternalLock _ = readLock.acquire()) {
if (get.realtime()) {
<BUG>VersionValue versionValue = versionMap.get(versionKey(get.uid()));
</BUG>
if (versionValue != null) {
if (versionValue.delete()) {
return GetResult.NOT_EXISTS;

this.enableGcDeletes = enableGcDeletes;
}
public GetResult get(Get get) throws EngineException {
try (InternalLock _ = readLock.acquire()) {
if (get.realtime()) {
VersionValue versionValue = versionMap.getUnderLock(get.uid().bytes());
if (versionValue != null) {
if (versionValue.delete()) {
return GetResult.NOT_EXISTS;
