kopia lustrzana https://github.com/gaul/s3proxy
Merge f7f74b1ec0
into 4e8b57b227
commit
4166b08c28
|
@ -1492,8 +1492,12 @@ public class S3ProxyHandler {
|
|||
if (Quirks.OPAQUE_MARKERS.contains(blobStoreType)) {
|
||||
StorageMetadata sm = Streams.findLast(set.stream()).orElse(null);
|
||||
if (sm != null) {
|
||||
lastKeyToMarker.put(Maps.immutableEntry(containerName,
|
||||
encodeBlob(encodingType, nextMarker)), nextMarker);
|
||||
// TODO: verify if we need this handling at all for V2
|
||||
String lastKey = isListV2 ? encodeBlob(encodingType, nextMarker) : sm.getName();
|
||||
lastKeyToMarker.put(
|
||||
Maps.immutableEntry(containerName, lastKey),
|
||||
nextMarker
|
||||
);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
|
Ładowanie…
Reference in New Issue