From 5b95f097d4b24e6e49e44f95d05e1d5a9ce10270 Mon Sep 17 00:00:00 2001 From: Krishna Srinivas Date: Sat, 21 May 2016 00:18:28 +0530 Subject: [PATCH] multipart: listing does not skip uploadIDmarker. (#1708) Fixes #1706 --- object-common-multipart.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/object-common-multipart.go b/object-common-multipart.go index 10cde6b68..4f023d803 100644 --- a/object-common-multipart.go +++ b/object-common-multipart.go @@ -342,6 +342,10 @@ func listMetaBucketMultipartFiles(layer ObjectLayer, prefixPath string, markerPa storage = l.storage } + if recursive && markerPath != "" { + markerPath = pathJoin(markerPath, incompleteFile) + } + walker := lookupTreeWalk(layer, listParams{minioMetaBucket, recursive, markerPath, prefixPath}) if walker == nil { walker = startTreeWalk(layer, minioMetaBucket, prefixPath, markerPath, recursive)