minio/cmd
Brendan Ashworth bccc386994 fs: drop Stat() call from fsDeleteFile,deleteFile (#4744)
This commit makes fsDeleteFile() simply call deleteFile() after calling
the relevant path length checking functions. This DRYs the code base.

This commit removes the Stat() call from deleteFile(). This improves
performance and removes any possibility of a race condition.

This additionally adds tests and a benchmark for said function. The
results aren't very consistent, although I'd expect this commit to make
it faster.
2017-08-03 20:04:28 -07:00
..
admin-handlers.go server-info: Change Error type to string (#4346) 2017-05-15 07:28:47 -07:00
admin-handlers_test.go Fail if formatting is wrong in our CI tests. (#4459) 2017-06-02 14:05:51 -07:00
admin-router.go Implement heal-upload admin API (#3914) 2017-03-17 09:25:49 -07:00
admin-rpc-client.go Name return values to prevent the need (and unnecessary code bloat) (#4576) 2017-06-21 19:53:09 -07:00
admin-rpc-client_test.go server: Fix CI build complaints (#4119) 2017-04-14 08:00:04 -07:00
admin-rpc-server.go rpc: Do not use read/write deadlines for rpc connections. (#4647) 2017-07-18 09:30:46 -07:00
admin-rpc-server_test.go Add extensive endpoints validation (#4019) 2017-04-11 15:44:27 -07:00
api-datatypes.go event: Enhance event message struct to provide origin server. (#3557) 2017-01-10 16:43:48 -08:00
api-errors.go gateway-azure: Return right error when Part size is > 100MB (#4652) 2017-07-12 16:42:14 -07:00
api-errors_test.go Implement gateway S3 support (#3940) 2017-04-27 11:26:00 -07:00
api-headers.go api: No need to set x-amz-bucket-region if region is empty. (#4586) 2017-06-23 16:05:40 -07:00
api-headers_test.go Add UTCNow() function. (#3931) 2017-03-18 11:28:41 -07:00
api-resources.go Listen bucket notification for multiple prefixes/suffixes (#2911) 2016-10-12 11:02:15 -07:00
api-resources_test.go Listen bucket notification for multiple prefixes/suffixes (#2911) 2016-10-12 11:02:15 -07:00
api-response-multipart.go Cleanup and fixes (#3273) 2016-11-21 13:51:05 -08:00
api-response.go fix: OwnerID in response should be 64 character in length. (#4554) 2017-06-20 15:01:13 -07:00
api-router.go Implement CopyObjectPart API (#3663) 2017-01-31 09:38:34 -08:00
auth-handler.go log: Fix printing of signature error request headers. (#4444) 2017-05-31 00:11:06 -07:00
auth-handler_test.go signature-v4: Use sha256("") for calculating canonical request (#4064) 2017-04-10 09:58:08 -07:00
auth-rpc-client.go auth/rpc: Add RWMutex instead of Mutex for granular locking. (#4352) 2017-05-16 14:34:56 -07:00
auth-rpc-client_test.go Test Function to reset globals. (#3538) 2017-01-07 11:27:01 -08:00
auth-rpc-server.go Adopt dsync interface changes and major cleanup on RPC server/client. 2017-01-02 20:57:42 +05:30
auth-rpc-server_test.go fix: OwnerID in response should be 64 character in length. (#4554) 2017-06-20 15:01:13 -07:00
benchmark-utils_test.go Enable browser support for gateway (#4425) 2017-06-01 09:43:20 -07:00
browser-flag.go browser-flag: wrapped bool type denotes browser on/off flag. (#3963) 2017-03-26 12:00:27 -07:00
browser-flag_test.go browser-flag: wrapped bool type denotes browser on/off flag. (#3963) 2017-03-26 12:00:27 -07:00
browser-peer-rpc.go Simplify credential usage. (#3893) 2017-03-16 00:16:06 -07:00
browser-peer-rpc_test.go Add UTCNow() function. (#3931) 2017-03-18 11:28:41 -07:00
browser-rpc-router.go rpc: Do not use read/write deadlines for rpc connections. (#4647) 2017-07-18 09:30:46 -07:00
bucket-handlers-listobjects.go Added ListObjectsV2 and ListObjectsV2 Anon support to Gateway S3 and Azure. (#4547) 2017-06-16 22:17:00 -07:00
bucket-handlers.go api: Upon bucket delete remove in-memory state properly. (#4716) 2017-07-23 19:35:18 -07:00
bucket-handlers_test.go Enable browser support for gateway (#4425) 2017-06-01 09:43:20 -07:00
bucket-metadata.go Adopt dsync interface changes and major cleanup on RPC server/client. 2017-01-02 20:57:42 +05:30
bucket-notification-datatypes.go Fix bug in JSON representation of object properties (#4238) 2017-05-03 20:10:00 -07:00
bucket-notification-handlers.go ListenBucketNotification should set proper MIME type. (#4621) 2017-07-03 19:59:41 -07:00
bucket-notification-handlers_test.go fix: OwnerID in response should be 64 character in length. (#4554) 2017-06-20 15:01:13 -07:00
bucket-notification-utils.go Add support for MQTT server as a notification target (#4474) 2017-06-14 17:27:49 -07:00
bucket-notification-utils_test.go Add support for MQTT server as a notification target (#4474) 2017-06-14 17:27:49 -07:00
bucket-policy-handlers.go all/windows: Be case in-sensitive about pattern matching. (#3682) 2017-02-03 23:27:50 -08:00
bucket-policy-handlers_test.go Enable browser support for gateway (#4425) 2017-06-01 09:43:20 -07:00
bucket-policy-parser.go all/windows: Be case in-sensitive about pattern matching. (#3682) 2017-02-03 23:27:50 -08:00
bucket-policy-parser_test.go Fail PutBucketPolicy if conditions are incompatible with actions. (#3659) 2017-01-30 09:20:16 -08:00
bucket-policy.go fs: Re-implement object layer to remember the fd (#3509) 2017-01-16 17:05:00 -08:00
build-constants.go Add constants for commonly used values. (#3588) 2017-01-18 12:24:34 -08:00
certs.go Refactor HTTP server to address bugs (#4636) 2017-07-12 16:33:21 -07:00
certs_test.go Make unit testable cert parsing functions. (#3863) 2017-03-08 19:20:01 -08:00
common-main.go Add support for reading and saving config on Gateway. (#4463) 2017-06-16 16:01:41 -07:00
config-dir.go server: handle command line and env variables at one place. (#3975) 2017-03-30 11:21:19 -07:00
config-migrate.go Add support for MQTT server as a notification target (#4474) 2017-06-14 17:27:49 -07:00
config-migrate_test.go Add support for MQTT server as a notification target (#4474) 2017-06-14 17:27:49 -07:00
config-old.go Add support for MQTT server as a notification target (#4474) 2017-06-14 17:27:49 -07:00
config-v19.go Add support for MQTT server as a notification target (#4474) 2017-06-14 17:27:49 -07:00
config-v19_test.go Add support for MQTT server as a notification target (#4474) 2017-06-14 17:27:49 -07:00
console-logger.go Refactor logger (#3924) 2017-03-23 16:36:00 -07:00
copy-part-range.go api: CopyObjectPart was copying wrong offsets due to shadowing. (#3838) 2017-03-03 16:32:04 -08:00
copy-part-range_test.go api: CopyObjectPart was copying wrong offsets due to shadowing. (#3838) 2017-03-03 16:32:04 -08:00
credential.go Removes max limit requirement on accessKey and secretKey length (#4730) 2017-08-03 20:03:37 -07:00
credential_test.go Removes max limit requirement on accessKey and secretKey length (#4730) 2017-08-03 20:03:37 -07:00
crossdomain-xml-handler.go fs: Re-implement object layer to remember the fd (#3509) 2017-01-16 17:05:00 -08:00
crossdomain-xml-handler_test.go fs: Re-implement object layer to remember the fd (#3509) 2017-01-16 17:05:00 -08:00
endpoint.go Name return values to prevent the need (and unnecessary code bloat) (#4576) 2017-06-21 19:53:09 -07:00
endpoint_test.go Allow "minio server ." to start minio in fs mode (#4513) 2017-06-08 18:58:51 -07:00
erasure-createfile.go xl: Fix rare freeze after many disk/network errors (#4438) 2017-06-14 17:14:27 -07:00
erasure-createfile_test.go xl: Fix rare freeze after many disk/network errors (#4438) 2017-06-14 17:14:27 -07:00
erasure-healfile.go Add new ReadFileWithVerify storage-layer API (#4349) 2017-05-16 14:21:52 -07:00
erasure-healfile_test.go xl: Fix rare freeze after many disk/network errors (#4438) 2017-06-14 17:14:27 -07:00
erasure-readfile.go Add new ReadFileWithVerify storage-layer API (#4349) 2017-05-16 14:21:52 -07:00
erasure-readfile_test.go xl: Fix rare freeze after many disk/network errors (#4438) 2017-06-14 17:14:27 -07:00
erasure-utils.go Add new ReadFileWithVerify storage-layer API (#4349) 2017-05-16 14:21:52 -07:00
erasure-utils_test.go server: Move all the top level files into cmd folder. (#2490) 2016-08-18 16:23:42 -07:00
erasure_test.go server: Move all the top level files into cmd folder. (#2490) 2016-08-18 16:23:42 -07:00
errors.go fs: Do not return reservedBucket names in ListBuckets() (#3754) 2017-02-16 14:52:14 -08:00
event-notifier.go api: Upon bucket delete remove in-memory state properly. (#4716) 2017-07-23 19:35:18 -07:00
event-notifier_test.go fix: OwnerID in response should be 64 character in length. (#4554) 2017-06-20 15:01:13 -07:00
fallocate.go Add support of fallocate for FS and XL backends (#3032) 2016-10-29 12:44:44 -07:00
fallocate_linux.go fs: Re-implement object layer to remember the fd (#3509) 2017-01-16 17:05:00 -08:00
fallocate_linux_test.go fs: Re-implement object layer to remember the fd (#3509) 2017-01-16 17:05:00 -08:00
file-logger.go Refactor logger (#3924) 2017-03-23 16:36:00 -07:00
format-config-v1.go fs: Add safe locking semantics for format.json (#4523) 2017-06-12 17:40:28 -07:00
format-config-v1_test.go fs: Add safe locking semantics for format.json (#4523) 2017-06-12 17:40:28 -07:00
fs-v1-background-append.go xl: Rename getOrderedDisks as shuffleDisks appropriately. (#3796) 2017-02-24 09:20:40 -08:00
fs-v1-helpers.go fs: drop Stat() call from fsDeleteFile,deleteFile (#4744) 2017-08-03 20:04:28 -07:00
fs-v1-helpers_test.go fs: drop Stat() call from fsDeleteFile,deleteFile (#4744) 2017-08-03 20:04:28 -07:00
fs-v1-metadata.go fs: Hold format.json readLock ref to avoid GC. (#4532) 2017-06-13 08:29:07 -07:00
fs-v1-metadata_test.go fs: Add safe locking semantics for format.json (#4523) 2017-06-12 17:40:28 -07:00
fs-v1-multipart.go fs: Fail CompleteMultipartUpload if partSize < 5M unless it is last part (#4642) 2017-07-07 08:41:29 -07:00
fs-v1-multipart_test.go Enable browser support for gateway (#4425) 2017-06-01 09:43:20 -07:00
fs-v1-rwpool.go tests: Fix test server init - cleanup (#3806) 2017-02-28 18:05:52 -08:00
fs-v1-rwpool_test.go Add constants for commonly used values. (#3588) 2017-01-18 12:24:34 -08:00
fs-v1.go posix: Check for min disk space and inodes (#4618) 2017-07-10 18:14:48 -07:00
fs-v1_test.go fs: Add safe locking semantics for format.json (#4523) 2017-06-12 17:40:28 -07:00
gateway-anonymous.go Move anonymous error to object translation from Azure specific to gateway 2017-06-16 14:47:02 -07:00
gateway-azure-anonymous.go gateway/azure: Parse error responses for anonymous requests (#4543) 2017-06-23 22:07:46 -07:00
gateway-azure-unsupported.go Name return values to prevent the need (and unnecessary code bloat) (#4576) 2017-06-21 19:53:09 -07:00
gateway-azure.go gateway-azure: Return right error when Part size is > 100MB (#4652) 2017-07-12 16:42:14 -07:00
gateway-azure_test.go Append "-1" to etag when it is not MD5 (#4641) 2017-07-10 18:21:12 -07:00
gateway-gcs-anonymous.go Added AnonListObjectsV2 support to GCS (#4584) 2017-06-23 17:35:45 -07:00
gateway-gcs-errors.go Remove dead unused errs and constants. (#4627) 2017-07-07 14:31:42 -07:00
gateway-gcs-unsupported.go Implement gateway support Google Cloud Storage 2017-06-16 14:47:02 -07:00
gateway-gcs.go gateway-gcs: remove files older than 2 weeks in minio.sys.temp (#4599). 2017-07-20 15:36:48 -07:00
gateway-gcs_test.go gateway-gcs: remove files older than 2 weeks in minio.sys.temp (#4599). 2017-07-20 15:36:48 -07:00
gateway-handlers.go fix confusing code for http.Header handling (#4623) 2017-07-05 16:56:10 -07:00
gateway-main.go gcs: Better parsing of address flag (#4709) 2017-07-20 16:39:11 -07:00
gateway-main_test.go Add support for reading and saving config on Gateway. (#4463) 2017-06-16 16:01:41 -07:00
gateway-router.go Added ListObjectsV2 and ListObjectsV2 Anon support to Gateway S3 and Azure. (#4547) 2017-06-16 22:17:00 -07:00
gateway-s3-anonymous.go Name return values to prevent the need (and unnecessary code bloat) (#4576) 2017-06-21 19:53:09 -07:00
gateway-s3-unsupported.go Name return values to prevent the need (and unnecessary code bloat) (#4576) 2017-06-21 19:53:09 -07:00
gateway-s3.go gateway-gcs: double quotes should be striped from ETag (#4590) 2017-06-23 12:19:10 -07:00
gateway-s3_test.go gateway: Rename gateway files to have "gateway-" prefix (#4207) 2017-05-01 10:32:18 -07:00
gateway-startup-msg.go Add support for reading and saving config on Gateway. (#4463) 2017-06-16 16:01:41 -07:00
gateway-startup-msg_test.go Add support for reading and saving config on Gateway. (#4463) 2017-06-16 16:01:41 -07:00
generic-handlers.go cors: Set Access-Control-Allow-Credentials to true (#4185) 2017-04-27 12:40:22 -07:00
generic-handlers_test.go fs: Do not return reservedBucket names in ListBuckets() (#3754) 2017-02-16 14:52:14 -08:00
globals.go Refactor HTTP server to address bugs (#4636) 2017-07-12 16:33:21 -07:00
handler-utils.go fix confusing code for http.Header handling (#4623) 2017-07-05 16:56:10 -07:00
handler-utils_test.go fix confusing code for http.Header handling (#4623) 2017-07-05 16:56:10 -07:00
hasher.go vendorize deps for snappy, blake2b and sha256 (#3476) 2016-12-19 19:32:55 -08:00
http-stats.go admin: ServerInfo() returns info for each node (#4150) 2017-04-21 07:15:53 -07:00
httprange.go server: Move all the top level files into cmd folder. (#2490) 2016-08-18 16:23:42 -07:00
httprange_test.go server: Move all the top level files into cmd folder. (#2490) 2016-08-18 16:23:42 -07:00
jwt.go jwt,browser: allow short-expiry tokens for GETs (#4684) 2017-07-24 12:46:37 -07:00
jwt_test.go Removes max limit requirement on accessKey and secretKey length (#4730) 2017-08-03 20:03:37 -07:00
leak-detect_test.go Add UTCNow() function. (#3931) 2017-03-18 11:28:41 -07:00
lock-instrument.go Add UTCNow() function. (#3931) 2017-03-18 11:28:41 -07:00
lock-instrument_test.go Remove duration field from lock instrumentation (#4111) 2017-04-15 11:40:01 -07:00
lock-rpc-client.go Adopt dsync interface changes and major cleanup on RPC server/client. 2017-01-02 20:57:42 +05:30
lock-rpc-client_test.go lock/rpc: change rpcPath to be called serviceEndpoint. (#4088) 2017-04-11 10:25:21 -07:00
lock-rpc-server-common.go Bypass network in lock requests to local server (#4465) 2017-06-05 12:25:04 -07:00
lock-rpc-server-common_test.go Bypass network in lock requests to local server (#4465) 2017-06-05 12:25:04 -07:00
lock-rpc-server.go rpc: Do not use read/write deadlines for rpc connections. (#4647) 2017-07-18 09:30:46 -07:00
lock-rpc-server_test.go Bypass network in lock requests to local server (#4465) 2017-06-05 12:25:04 -07:00
lock-stat.go Clean up lock-instrumentation and improve comments (#3499) 2016-12-26 10:29:55 -08:00
lockinfo-handlers.go Remove duration field from lock instrumentation (#4111) 2017-04-15 11:40:01 -07:00
lockinfo-handlers_test.go Change query param name to duration in list/clear locks API (#3664) 2017-02-01 11:17:30 -08:00
logger.go vet: Fix all the go vet complaints (#4029) 2017-04-01 01:06:06 -07:00
logger_test.go Refactor logger (#3924) 2017-03-23 16:36:00 -07:00
main.go Add support for DCOS host detection, improve Docker detection. (#4525) 2017-06-13 00:33:21 +00:00
main_test.go server: Move all the top level files into cmd folder. (#2490) 2016-08-18 16:23:42 -07:00
namespace-lock.go Bypass network in lock requests to local server (#4465) 2017-06-05 12:25:04 -07:00
namespace-lock_test.go lock: Moving locking to handler layer. (#3381) 2016-12-10 16:15:12 -08:00
naughty-disk_test.go Add new ReadFileWithVerify storage-layer API (#4349) 2017-05-16 14:21:52 -07:00
net-rpc-client.go Adopt dsync interface changes and major cleanup on RPC server/client. 2017-01-02 20:57:42 +05:30
net.go Treat 0.0.0.0 as local address in --address flag (#4386) 2017-05-23 12:07:39 -07:00
net_test.go Treat 0.0.0.0 as local address in --address flag (#4386) 2017-05-23 12:07:39 -07:00
notifier-config.go Add support for MQTT server as a notification target (#4474) 2017-06-14 17:27:49 -07:00
notifier-config_test.go config: setter/getter for Notifier and Logger into its own struct. (#3721) 2017-02-09 15:20:54 -08:00
notifiers.go Add support for MQTT server as a notification target (#4474) 2017-06-14 17:27:49 -07:00
notifiers_test.go tests: Add tests for filterRuleMatch (#2722) 2016-09-16 16:44:44 -07:00
notify-amqp.go Name return values to prevent the need (and unnecessary code bloat) (#4576) 2017-06-21 19:53:09 -07:00
notify-elasticsearch.go Add access format support for Elasticsearch notification target (#4006) 2017-03-31 14:11:27 -07:00
notify-kafka.go Name return values to prevent the need (and unnecessary code bloat) (#4576) 2017-06-21 19:53:09 -07:00
notify-listener.go Fix spelling and golint errors. (#3266) 2016-11-15 18:14:23 -08:00
notify-mqtt.go Name return values to prevent the need (and unnecessary code bloat) (#4576) 2017-06-21 19:53:09 -07:00
notify-mysql.go Name return values to prevent the need (and unnecessary code bloat) (#4576) 2017-06-21 19:53:09 -07:00
notify-nats.go Name return values to prevent the need (and unnecessary code bloat) (#4576) 2017-06-21 19:53:09 -07:00
notify-postgresql.go Name return values to prevent the need (and unnecessary code bloat) (#4576) 2017-06-21 19:53:09 -07:00
notify-redis.go Add access format support for Elasticsearch notification target (#4006) 2017-03-31 14:11:27 -07:00
notify-webhook.go Webhook endpoints can fail, we must start the server. (#4255) 2017-05-04 13:43:54 -07:00
notify-webhook_test.go Webhook endpoints can fail, we must start the server. (#4255) 2017-05-04 13:43:54 -07:00
object-api-common.go fs: Add safe locking semantics for format.json (#4523) 2017-06-12 17:40:28 -07:00
object-api-common_test.go Add extensive endpoints validation (#4019) 2017-04-11 15:44:27 -07:00
object-api-datatypes.go fs/erasure: Rename meta 'md5Sum' as 'etag'. (#4319) 2017-05-14 12:05:51 -07:00
object-api-errors.go gateway-azure: Return right error when Part size is > 100MB (#4652) 2017-07-12 16:42:14 -07:00
object-api-getobject_test.go Enable browser support for gateway (#4425) 2017-06-01 09:43:20 -07:00
object-api-getobjectinfo_test.go Enable browser support for gateway (#4425) 2017-06-01 09:43:20 -07:00
object-api-input-checks.go fs/erasure: Ignore objects with / even for DeleteObject() (#4303) 2017-05-09 14:32:24 -07:00
object-api-interface.go Enable browser support for gateway (#4425) 2017-06-01 09:43:20 -07:00
object-api-listobjects_test.go Enable browser support for gateway (#4425) 2017-06-01 09:43:20 -07:00
object-api-multipart-common.go xl: Abort multipart upload should honor quorum properly. (#3670) 2017-02-01 11:16:17 -08:00
object-api-multipart_test.go fix: OwnerID in response should be 64 character in length. (#4554) 2017-06-20 15:01:13 -07:00
object-api-putobject_test.go Enable browser support for gateway (#4425) 2017-06-01 09:43:20 -07:00
object-api-utils.go fs/erasure: Rename meta 'md5Sum' as 'etag'. (#4319) 2017-05-14 12:05:51 -07:00
object-api-utils_test.go server: Validate path for bad components in a handler. (#4170) 2017-04-24 18:13:46 -07:00
object-handlers-common.go fs/erasure: Rename meta 'md5Sum' as 'etag'. (#4319) 2017-05-14 12:05:51 -07:00
object-handlers.go fix confusing code for http.Header handling (#4623) 2017-07-05 16:56:10 -07:00
object-handlers_test.go xl/fs: Return InvalidPart{} error for part ETag mismatch. (#4541) 2017-06-17 11:20:39 -07:00
object_api_suite_test.go Enable browser support for gateway (#4425) 2017-06-01 09:43:20 -07:00
posix-dirent-fileno.go server: Move all the top level files into cmd folder. (#2490) 2016-08-18 16:23:42 -07:00
posix-dirent-ino.go server: Move all the top level files into cmd folder. (#2490) 2016-08-18 16:23:42 -07:00
posix-errors.go Add constants for commonly used values. (#3588) 2017-01-18 12:24:34 -08:00
posix-errors_test.go Add constants for commonly used values. (#3588) 2017-01-18 12:24:34 -08:00
posix-list-dir-nix.go windows: Support all REPARSE_POINT attrib files properly. (#4203) 2017-05-02 02:35:27 -07:00
posix-list-dir-others.go fs: Add safe locking semantics for format.json (#4523) 2017-06-12 17:40:28 -07:00
posix-list-dir_test.go all/windows: Be case in-sensitive about pattern matching. (#3682) 2017-02-03 23:27:50 -08:00
posix-prepare-path.go Add constants for commonly used values. (#3588) 2017-01-18 12:24:34 -08:00
posix-utils_nix.go windows: Support all REPARSE_POINT attrib files properly. (#4203) 2017-05-02 02:35:27 -07:00
posix-utils_nix_test.go windows: Support all REPARSE_POINT attrib files properly. (#4203) 2017-05-02 02:35:27 -07:00
posix-utils_test.go server: Move all the top level files into cmd folder. (#2490) 2016-08-18 16:23:42 -07:00
posix-utils_windows.go windows: Support all REPARSE_POINT attrib files properly. (#4203) 2017-05-02 02:35:27 -07:00
posix-utils_windows_test.go Move to URL based syntax formatting. (#3092) 2016-10-27 03:30:52 -07:00
posix.go fs: drop Stat() call from fsDeleteFile,deleteFile (#4744) 2017-08-03 20:04:28 -07:00
posix_test.go posix: Check for min disk space and inodes (#4618) 2017-07-10 18:14:48 -07:00
post-policy_test.go Enable browser support for gateway (#4425) 2017-06-01 09:43:20 -07:00
postpolicyform.go Name return values to prevent the need (and unnecessary code bloat) (#4576) 2017-06-21 19:53:09 -07:00
postpolicyform_test.go api: postPolicy cleanup. Simplify the code and re-use. (#3890) 2017-03-13 14:41:13 -07:00
prepare-storage-msg.go xl: prepare storage should Abort properly. (#4542) 2017-06-17 11:20:12 -07:00
prepare-storage-msg_test.go Add extensive endpoints validation (#4019) 2017-04-11 15:44:27 -07:00
prepare-storage.go xl: prepare storage should Abort properly. (#4542) 2017-06-17 11:20:12 -07:00
prepare-storage_test.go prep: Initialization should wait instead of exit the servers. (#2872) 2016-10-07 11:15:55 -07:00
retry-storage.go Add new ReadFileWithVerify storage-layer API (#4349) 2017-05-16 14:21:52 -07:00
retry-storage_test.go Add new ReadFileWithVerify storage-layer API (#4349) 2017-05-16 14:21:52 -07:00
retry.go Add UTCNow() function. (#3931) 2017-03-18 11:28:41 -07:00
retry_test.go auth/rpc: Make auth rpc client retry configurable. (#3695) 2017-02-07 02:16:29 -08:00
routers.go server: Validate path for bad components in a handler. (#4170) 2017-04-24 18:13:46 -07:00
rpc-common.go Add UTCNow() function. (#3931) 2017-03-18 11:28:41 -07:00
rpc-server.go rpc: Do not use read/write deadlines for rpc connections. (#4647) 2017-07-18 09:30:46 -07:00
rpc-server_test.go rpc: Do not use read/write deadlines for rpc connections. (#4647) 2017-07-18 09:30:46 -07:00
s3-peer-client.go api: Fix registering of s3 endpoint peers properly (#4159) 2017-04-20 15:28:29 -07:00
s3-peer-client_test.go Add extensive endpoints validation (#4019) 2017-04-11 15:44:27 -07:00
s3-peer-router.go rpc: Do not use read/write deadlines for rpc connections. (#4647) 2017-07-18 09:30:46 -07:00
s3-peer-rpc-handlers.go Adopt dsync interface changes and major cleanup on RPC server/client. 2017-01-02 20:57:42 +05:30
s3-peer-rpc-handlers_test.go rpc: Remove time check for each RPC calls. (#3804) 2017-02-24 18:26:56 -08:00
server-main.go Removes max limit requirement on accessKey and secretKey length (#4730) 2017-08-03 20:03:37 -07:00
server-main_test.go Add extensive endpoints validation (#4019) 2017-04-11 15:44:27 -07:00
server-rlimit.go Remove globalMaxCacheSize and globalCacheExpiry variables (#3826) 2017-03-02 10:34:37 -08:00
server-rlimit_test.go cache: Increasing caching GC percent from 20 to 50. (#4041) 2017-04-15 02:16:49 -07:00
server-startup-msg.go Remove unnecessary newline at beginning of server output (#4600) 2017-06-27 19:46:58 -07:00
server-startup-msg_test.go Add support for reading and saving config on Gateway. (#4463) 2017-06-16 16:01:41 -07:00
server_test.go fix: OwnerID in response should be 64 character in length. (#4554) 2017-06-20 15:01:13 -07:00
server_utils_test.go xl: Rename getOrderedDisks as shuffleDisks appropriately. (#3796) 2017-02-24 09:20:40 -08:00
service.go Refactor HTTP server to address bugs (#4636) 2017-07-12 16:33:21 -07:00
setup-type.go Add extensive endpoints validation (#4019) 2017-04-11 15:44:27 -07:00
signals.go Refactor HTTP server to address bugs (#4636) 2017-07-12 16:33:21 -07:00
signature-v2.go Add extensive endpoints validation (#4019) 2017-04-11 15:44:27 -07:00
signature-v2_test.go Add UTCNow() function. (#3931) 2017-03-18 11:28:41 -07:00
signature-v4-parser.go Name return values to prevent the need (and unnecessary code bloat) (#4576) 2017-06-21 19:53:09 -07:00
signature-v4-parser_test.go signature: use region from Auth header if server's region not configured (#4329) 2017-05-15 18:17:02 -07:00
signature-v4-utils.go signature: use region from Auth header if server's region not configured (#4329) 2017-05-15 18:17:02 -07:00
signature-v4-utils_test.go signature: use region from Auth header if server's region not configured (#4329) 2017-05-15 18:17:02 -07:00
signature-v4.go Remove dead unused errs and constants. (#4627) 2017-07-07 14:31:42 -07:00
signature-v4_test.go signature: use region from Auth header if server's region not configured (#4329) 2017-05-15 18:17:02 -07:00
storage-datatypes.go Use getObjectInfo() in both FS and XL ListObjects() to simplify and to return complete object information (#3247) 2016-11-13 11:48:02 -08:00
storage-errors.go Remove dead unused errs and constants. (#4627) 2017-07-07 14:31:42 -07:00
storage-interface.go Add new ReadFileWithVerify storage-layer API (#4349) 2017-05-16 14:21:52 -07:00
storage-rpc-client.go Fail if formatting is wrong in our CI tests. (#4459) 2017-06-02 14:05:51 -07:00
storage-rpc-client_test.go Add new ReadFileWithVerify storage-layer API (#4349) 2017-05-16 14:21:52 -07:00
storage-rpc-server-datatypes.go Add new ReadFileWithVerify storage-layer API (#4349) 2017-05-16 14:21:52 -07:00
storage-rpc-server.go rpc: Do not use read/write deadlines for rpc connections. (#4647) 2017-07-18 09:30:46 -07:00
storage-rpc-server_test.go Add extensive endpoints validation (#4019) 2017-04-11 15:44:27 -07:00
streaming-signature-v4.go sign: StreamingSign should use region from client. (#4577) 2017-06-21 11:30:34 -07:00
streaming-signature-v4_test.go Refactor streaming signatureV4 w/ state machine (#2862) 2016-10-10 01:42:32 -07:00
test-utils_test.go Enable browser support for gateway (#4425) 2017-06-01 09:43:20 -07:00
to_err_test.go xl: Abort multipart upload should honor quorum properly. (#3670) 2017-02-01 11:16:17 -08:00
tree-walk-pool.go server: Move all the top level files into cmd folder. (#2490) 2016-08-18 16:23:42 -07:00
tree-walk-pool_test.go server: Move all the top level files into cmd folder. (#2490) 2016-08-18 16:23:42 -07:00
tree-walk.go all/windows: Be case in-sensitive about pattern matching. (#3682) 2017-02-03 23:27:50 -08:00
tree-walk_test.go Add extensive endpoints validation (#4019) 2017-04-11 15:44:27 -07:00
typed-errors.go api: CopyObjectPart was copying wrong offsets due to shadowing. (#3838) 2017-03-03 16:32:04 -08:00
update-main.go Add support for helm package info in useragent (#4592) 2017-06-24 13:17:28 -07:00
update-main_test.go Add support for helm package info in useragent (#4592) 2017-06-24 13:17:28 -07:00
update-notifier.go Fix and cleanup update message and improve related tests (#4361) 2017-05-31 09:22:00 -07:00
update-notifier_test.go Fix and cleanup update message and improve related tests (#4361) 2017-05-31 09:22:00 -07:00
utils.go log: Fix printing of signature error request headers. (#4444) 2017-05-31 00:11:06 -07:00
utils_test.go log: Fix printing of signature error request headers. (#4444) 2017-05-31 00:11:06 -07:00
version-main.go cli: Make sure to add --help flag for subcommands. (#3773) 2017-02-19 20:46:06 -08:00
version_test.go server: Move all the top level files into cmd folder. (#2490) 2016-08-18 16:23:42 -07:00
web-handlers.go jwt,browser: allow short-expiry tokens for GETs (#4684) 2017-07-24 12:46:37 -07:00
web-handlers_test.go jwt,browser: allow short-expiry tokens for GETs (#4684) 2017-07-24 12:46:37 -07:00
web-router.go jwt,browser: allow short-expiry tokens for GETs (#4684) 2017-07-24 12:46:37 -07:00
xl-v1-bucket.go Name return values to prevent the need (and unnecessary code bloat) (#4576) 2017-06-21 19:53:09 -07:00
xl-v1-common.go Add UTCNow() function. (#3931) 2017-03-18 11:28:41 -07:00
xl-v1-errors.go Remove dead unused errs and constants. (#4627) 2017-07-07 14:31:42 -07:00
xl-v1-healing-common.go Fix xl.diskWithAllParts to proper checksum algorithm (#4509) 2017-06-14 17:13:02 -07:00
xl-v1-healing-common_test.go Fix xl.diskWithAllParts to proper checksum algorithm (#4509) 2017-06-14 17:13:02 -07:00
xl-v1-healing.go xl: Fix rare freeze after many disk/network errors (#4438) 2017-06-14 17:14:27 -07:00
xl-v1-healing_test.go fs: Add safe locking semantics for format.json (#4523) 2017-06-12 17:40:28 -07:00
xl-v1-list-objects-heal.go Name return values to prevent the need (and unnecessary code bloat) (#4576) 2017-06-21 19:53:09 -07:00
xl-v1-list-objects-heal_test.go Enable browser support for gateway (#4425) 2017-06-01 09:43:20 -07:00
xl-v1-list-objects.go Name return values to prevent the need (and unnecessary code bloat) (#4576) 2017-06-21 19:53:09 -07:00
xl-v1-metadata.go Name return values to prevent the need (and unnecessary code bloat) (#4576) 2017-06-21 19:53:09 -07:00
xl-v1-metadata_test.go Fail if formatting is wrong in our CI tests. (#4459) 2017-06-02 14:05:51 -07:00
xl-v1-multipart.go Name return values to prevent the need (and unnecessary code bloat) (#4576) 2017-06-21 19:53:09 -07:00
xl-v1-multipart_test.go Enable browser support for gateway (#4425) 2017-06-01 09:43:20 -07:00
xl-v1-object.go Name return values to prevent the need (and unnecessary code bloat) (#4576) 2017-06-21 19:53:09 -07:00
xl-v1-object_test.go Enable browser support for gateway (#4425) 2017-06-01 09:43:20 -07:00
xl-v1-utils.go Name return values to prevent the need (and unnecessary code bloat) (#4576) 2017-06-21 19:53:09 -07:00
xl-v1-utils_test.go xl: Fix rare freeze after many disk/network errors (#4438) 2017-06-14 17:14:27 -07:00
xl-v1.go fs: Add safe locking semantics for format.json (#4523) 2017-06-12 17:40:28 -07:00
xl-v1_test.go Add extensive endpoints validation (#4019) 2017-04-11 15:44:27 -07:00