mirror of
https://github.com/minio/minio.git
synced 2026-11-25 15:22:50 +00:00
An attempt to bring in memory layer into donut driver
This commit is contained in:
1 parent
7ab16b5b83
commit
45a7eab804
11 files changed
+713
-132
No files matched your search
@@ -321,7 +321,7 @@ func (memory *memoryDriver) createObject(bucket, key, contentType, expectedMD5Su
|
||||
func (memory *memoryDriver) CreateBucket(bucketName, acl string) error {
|
||||
memory.lock.RLock()
|
||||
if len(memory.storedBuckets) == totalBuckets {
|
||||
memory.lock.RLock()
|
||||
memory.lock.RUnlock()
|
||||
return iodine.New(drivers.TooManyBuckets{Bucket: bucketName}, nil)
|
||||
}
|
||||
if !drivers.IsValidBucket(bucketName) {
|
||||
|
||||
Reference in new issue
Block a user