Commit Graph

1412 Commits

Author SHA1 Message Date
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
Frederick F. Kautz IV 3a1386165f Fixing race condition 2015-04-29 18:54:59 -07:00
Harshavardhana 710e732cf0 Merge pull request #543 from harshavardhana/pr_out_fix_out_of_memory_issue 2015-04-29 18:50:19 -07:00
Harshavardhana 03bca9a001 Fix out of memory issue 2015-04-29 18:33:19 -07:00
Harshavardhana 50d871c2db Merge pull request #540 from harshavardhana/pr_out_remove_connection_limit_handle_throttling_outisde_in_iptables 2015-04-29 17:32:01 -07:00
Harshavardhana 25d4c0f6fa A small logical change in messaging and logging 2015-04-29 17:30:54 -07:00
Harshavardhana 8be3b92ab7 Merge pull request #541 from fkautz/pr_out_adding_error_message_on_connection_limit_met 2015-04-29 17:24:04 -07:00
Frederick F. Kautz IV f596c744ed Adding error message on connection limit met 2015-04-29 17:21:23 -07:00
Harshavardhana 8d1d309630 Merge pull request #539 from harshavardhana/pr_out_return_resources_as_its_available_not_a_new_value 2015-04-29 16:50:07 -07:00
Harshavardhana a89c4a57d3 Return resources as its available, not a new value 2015-04-29 16:47:14 -07:00
Harshavardhana edf838df74 Merge pull request #538 from harshavardhana/pr_out_bump_up_gocyclo_to_18 2015-04-29 15:34:56 -07:00
Harshavardhana a60d279817 bump up gocyclo to 18 2015-04-29 15:34:00 -07:00
Harshavardhana 251c99176a Merge pull request #537 from harshavardhana/pr_out_add_proper_content_length_for_error_and_success_responses 2015-04-29 15:32:12 -07:00
Frederick F. Kautz IV c718910300 Merge pull request #536 from fkautz/pr_out_expirations_are_now_based_on_last_accessed_instead_of_time_created 2015-04-29 15:30:54 -07:00