Commit Graph

1675 Commits

Author SHA1 Message Date
Harshavardhana
d0df548eb5 Use new LRU inside memory driver 2015-05-04 03:55:43 -07:00
Harshavardhana
f7caef2d26 Change CreateObject() to take size argument from content-length 2015-05-04 03:55:43 -07:00
Harshavardhana
c342ce1588 New LRU based on GroupCache which keeps track of memory rather than entries 2015-05-04 03:55:19 -07:00
Frederick F. Kautz IV
66e0fe23be Merge pull request #566 from fkautz/pr_out_deleting_key_from_lastaccessedobjects_on_eviction 2015-05-01 22:21:11 -07:00
Frederick F. Kautz IV
3cf045fd1b Deleting key from lastAccessedObjects on eviction 2015-05-01 22:01:07 -07:00
Frederick F. Kautz IV
ad2037f446 Merge pull request #565 from fkautz/pr_out_removing_groupcache_lru_in_favor_of_imported_local_version 2015-05-01 21:02:17 -07:00
Frederick F. Kautz IV
c80bbc86d5 Removing groupcache lru in favor of imported local version 2015-05-01 20:58:36 -07:00
Harshavardhana
600a75a786 Merge pull request #564 from harshavardhana/pr_out_rename_isvalidobject_to_isvalidobjectname_ 2015-05-01 20:33:05 -07:00
Harshavardhana
9ec8925f1c Rename IsValidObject() to IsValidObjectName() 2015-05-01 20:31:26 -07:00
Frederick F. Kautz IV
944d88c8ae Merge pull request #563 from fkautz/pr_out_fixing_documentation_issues_with_expire 2015-05-01 18:22:03 -07:00
Frederick F. Kautz IV
ac595b1f2e Fixing documentation issues with expire 2015-05-01 18:20:22 -07:00
Frederick F. Kautz IV
faaa647b0d Merge pull request #562 from fkautz/pr_out_reimagining_memory_settings_cli_input 2015-05-01 18:17:02 -07:00
Frederick F. Kautz IV
33ecba8e49 Reimagining memory settings cli input 2015-05-01 18:12:58 -07:00
Frederick F. Kautz IV
b624072dbb Merge pull request #561 from fkautz/pr_out_attempt_to_fix_memory_lock_on_get_preventing_write 2015-05-01 17:52:24 -07:00
Frederick F. Kautz IV
d158284cd5 Merge pull request #560 from fkautz/pr_out_removing_log_message_from_test 2015-05-01 17:47:43 -07:00
Frederick F. Kautz IV
25c268ac88 Attempt to fix memory lock on Get preventing write 2015-05-01 17:45:40 -07:00
Frederick F. Kautz IV
85f1b46492 Removing log message from test 2015-05-01 17:32:18 -07:00
Frederick F. Kautz IV
8e093eb6f6 Merge pull request #559 from fkautz/pr_out_fix_docker_support 2015-05-01 15:26:51 -07:00
Frederick F. Kautz IV
7cf86e6114 Fix docker support 2015-05-01 15:23:39 -07:00
Harshavardhana
1f3dd2374c Merge pull request #558 from harshavardhana/pr_out_even_mux_vars_don_t_help_handle_it_by_looking_at_req_url_path 2015-05-01 12:43:51 -07:00
Harshavardhana
2c7b30e5e1 Even mux vars don't help, handle it by looking at req.URL.Path 2015-05-01 12:41:17 -07:00
Frederick F. Kautz IV
b69327a617 Merge pull request #556 from fkautz/pr_out_exposing_expiration_for_memory_driver 2015-04-30 21:28:12 -07:00
Frederick F. Kautz IV
b86b26e7e5 Exposing expiration for memory driver 2015-04-30 21:20:54 -07:00
Harshavardhana
c01fb92eca Merge pull request #557 from harshavardhana/pr_out_make_builddate_universal 2015-04-30 21:19:04 -07:00
Harshavardhana
bbace9ac2e Make buildDate universal 2015-04-30 21:16:49 -07:00
Harshavardhana
bbc32d6ac0 Disable domain based routing for now 2015-04-30 21:15:53 -07:00
Harshavardhana
f3078d047c Get bucketName from mux.Vars instead of heuristic code, resolves subdomain issues 2015-04-30 21:11:32 -07:00
Frederick F. Kautz IV
e911cc332e Merge pull request #554 from fkautz/pr_out_disable_eviction_on_0_expiration_time 2015-04-30 19:40:46 -07:00
Harshavardhana
9167312170 Merge pull request #555 from harshavardhana/pr_out_use_utc_everywhere 2015-04-30 19:40:37 -07:00
Harshavardhana
8e3d48bf35 Use UTC() everywhere
ref - https://github.com/golang/go/issues/1988, no standard function to set timeZone
2015-04-30 19:38:32 -07:00
Frederick F. Kautz IV
94e24f1a05 Disable eviction on 0 expiration time 2015-04-30 19:34:35 -07:00
Frederick F. Kautz IV
b6d96335e7 Merge pull request #553 from fkautz/pr_out_setting_number_of_processors_to_use_to_max_available 2015-04-30 19:25:31 -07:00
Frederick F. Kautz IV
f59535f052 Setting number of processors to use to max available 2015-04-30 19:23:07 -07:00
Harshavardhana
72395798c8 Merge pull request #552 from harshavardhana/pr_out_minio_config_directory_should_be_0700_not_os_modedir 2015-04-30 17:40:15 -07:00
Harshavardhana
2de81c8a3c Minio config directory should be 0700 not os.ModeDir 2015-04-30 15:42:49 -07:00
Frederick F. Kautz IV
e76337d620 Merge pull request #551 from fkautz/pr_out_wrapping_functions_that_require_gc_so_that_references_are_released_before_running 2015-04-30 13:11:26 -07:00
Frederick F. Kautz IV
8e2f7f9493 Wrapping functions that require gc so that references are released before running 2015-04-30 12:38:12 -07:00
Harshavardhana
4ea186729a Merge pull request #550 from harshavardhana/pr_out_changes_to_createobject_now_returns_back_md5_along_with_any_error 2015-04-30 03:43:14 -07:00
Harshavardhana
d815e6adfd Changes to CreateObject() now returns back md5 along with any error
- This change is necessary to avoid the racy calls to GetObjectMetadata()
- This change is also necessary since one has to reply back md5sum with
  PUT object response header
2015-04-30 03:38:14 -07:00
Harshavardhana
13cae94191 Merge pull request #545 from harshavardhana/pr_out_conn_limit_changes 2015-04-30 01:26:24 -07:00
Harshavardhana
fd2203b1b7 Some more improvements to connection limit 2015-04-30 01:23:44 -07:00
Harshavardhana
58491d22fc Merge pull request #548 from harshavardhana/pr_out_memory_now_evicts_bucket_if_no_more_objects_in_memory_struct 2015-04-30 00:33:21 -07:00
Harshavardhana
f8a16dd22b Memory now evicts bucket if no more objects in memory struct
- To avoid race in expiration while accessing memory driver structs with
  in two competing write locks. Use lru Len() instead to know exact length
  to schedule for eviction.

- squash both bucket and object structs, instead use a separate map to keep
  mutable info of lastAccessTime which can be independently used inside the
  expiration routine.
2015-04-30 00:31:52 -07:00
Frederick F. Kautz IV
63ba97fd8e Merge pull request #547 from fkautz/pr_out_removing_entity_too_large_errors_from_memory_driver 2015-04-30 00:12:01 -07:00
Frederick F. Kautz IV
ed0a9a9e06 Removing entity too large errors from memory driver 2015-04-30 00:09:54 -07:00
Frederick F. Kautz IV
446a137904 Merge pull request #546 from fkautz/pr_out_adding_debug_statements_for_testing 2015-04-29 21:15:12 -07:00
Frederick F. Kautz IV
aff2b3b06a Adding debug statements for testing 2015-04-29 21:13:32 -07:00
Frederick F. Kautz IV
a521309b78 Merge pull request #542 from fkautz/pr_out_make_minio_work_with_curl_and_browsers_again 2015-04-29 20:21:38 -07:00
Frederick F. Kautz IV
82a16b8848 Make minio work with curl and browsers again 2015-04-29 20:17:26 -07:00
Frederick F. Kautz IV
73de05feb6 Merge pull request #544 from fkautz/pr_out_fixing_race_condition 2015-04-29 18:57:05 -07:00