Skip to content

Instantly share code, notes, and snippets.

View krisis's full-sized avatar

Krishnan Parthasarathi krisis

  • San Francisco Bay Area, CA
View GitHub Profile
@krisis
krisis / CopyObjectPart.hs
Created March 3, 2017 11:16
copy-object-part
#!/usr/bin/env stack
-- stack --resolver lts-6.27 runghc --package minio-hs
--
-- Minio Haskell SDK, (C) 2017 Minio, Inc.
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
@krisis
krisis / concurrent-upload.go
Created January 4, 2017 05:14
Go program using minio-go to upload objects in parallel
package main
import (
"fmt"
"sync"
"os"
"github.com/minio/minio-go"
)
@krisis
krisis / mc-admin.md
Last active January 20, 2017 09:20

Management REST API

Authors

  • Anis
  • KP

Authentication

  • AWS signatureV4
  • Region can't be empty string. Currently using "minio" as constant string.

Versioning

@krisis
krisis / analysis.md
Last active November 18, 2016 08:29
issue/3111

Test description

The python script used minio1 to perform the multipart upload. minio2 was brought down and back up while many concurrent multipart uploads were ongoing.

Backend after panic

➜  ~ tree /mnt/export/minio{1..4}/.minio.sys/multipart/kp-test-minio-py/my-boring-object-3/            
/mnt/export/minio1/.minio.sys/multipart/kp-test-minio-py/my-boring-object-3/
└── cf06534c-bcee-405c-976d-b22a3bdb71a7
    └── part.10