Revert "cache service: use an identity hashmap as equals checks archive contents"
This reverts commit 1b46911dea9e8362c16de89952c5c4becfdc4e43.
This commit is contained in:
@@ -29,7 +29,7 @@ import io.minio.errors.InvalidEndpointException;
|
|||||||
import io.minio.errors.InvalidPortException;
|
import io.minio.errors.InvalidPortException;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.time.Instant;
|
import java.time.Instant;
|
||||||
import java.util.IdentityHashMap;
|
import java.util.HashMap;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.concurrent.ExecutorService;
|
import java.util.concurrent.ExecutorService;
|
||||||
@@ -105,7 +105,7 @@ public class CacheUpdater
|
|||||||
|
|
||||||
CacheClient client = new CacheClient(store, rsVersion, new DownloadWatcher()
|
CacheClient client = new CacheClient(store, rsVersion, new DownloadWatcher()
|
||||||
{
|
{
|
||||||
private final Map<Index, IndexEntry> indexEntryMap = new IdentityHashMap<>();
|
private final Map<Index, IndexEntry> indexEntryMap = new HashMap<>();
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void indexComplete(Index index)
|
public void indexComplete(Index index)
|
||||||
|
|||||||
Reference in New Issue
Block a user