]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Yehuda Sadeh [Wed, 4 Nov 2015 19:06:11 +0000 (11:06 -0800)]
rgw: update the correct shards when doing full sync
The shard we use for each entry (either meta, or data) needs to be selected
correctly to match the different logs we keep. Otherwise async notifications
don't work correctly
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 3 Nov 2015 23:03:01 +0000 (15:03 -0800)]
rgw: shutdown lease CR on mdlog inc sync failure
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Casey Bodley [Thu, 5 Nov 2015 20:16:57 +0000 (15:16 -0500)]
rgw: use boost::intrusive_ptr for http_op ref counting
this fixes a segfault in the RGWPostRESTResourceCR::request_complete()
error path, which accessed http_op after calling put()
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Thu, 5 Nov 2015 17:27:11 +0000 (12:27 -0500)]
rgw: apply RGWRESTReadResource::wait_bl() fix to PostResource as well
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Wed, 4 Nov 2015 21:57:34 +0000 (16:57 -0500)]
rgw: RGWRESTPostResource takes param_list_t for RGWPostRESTResourceCR
RGWPostRESTResourceCR needs to make a copy of the parameters given to
its constructor, because it doesn't use them until send_request(). this
results in a segfault when the given parameter list is on the stack
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Wed, 4 Nov 2015 21:51:36 +0000 (16:51 -0500)]
rgw: add make_param_list() helper
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Wed, 4 Nov 2015 21:43:41 +0000 (16:43 -0500)]
rgw: add typedef for rest parameter lists
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Wed, 4 Nov 2015 21:39:45 +0000 (16:39 -0500)]
rgw: use insert to copy containers in rgw_rest_conn
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Mon, 12 Oct 2015 19:07:39 +0000 (15:07 -0400)]
rgw: move RGWPostRESTResourceCR to rgw_cr_rest.h
for use by RGWRealmPusher
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Mon, 12 Oct 2015 17:14:59 +0000 (13:14 -0400)]
rgw: RGWRestConn uses vector instead of map
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Orit Wasserman [Wed, 4 Nov 2015 14:27:06 +0000 (15:27 +0100)]
rgw: workaround to clear location constrain when using default zonegroup
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Wed, 4 Nov 2015 10:50:18 +0000 (11:50 +0100)]
rgw: bucket ops, obj create and obj delete should check to see if bucket exists
rgw_build_policies set the bucket_exists flag
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Casey Bodley [Tue, 3 Nov 2015 15:44:17 +0000 (10:44 -0500)]
rgw: realm watcher locks mutex for SafeTimer::shutdown()
this fixes an assert() on shutdown
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Orit Wasserman [Tue, 3 Nov 2015 15:21:32 +0000 (16:21 +0100)]
rgw: fix bucket creation and deletion when there is no realm or period configured
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Tue, 3 Nov 2015 10:29:30 +0000 (11:29 +0100)]
rgw: use default zonegroup and zone in init_complete
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Tue, 3 Nov 2015 09:09:38 +0000 (10:09 +0100)]
rgw: allow creating a bucket without current period
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Yehuda Sadeh [Mon, 2 Nov 2015 18:43:24 +0000 (10:43 -0800)]
rgw: fix data sync initialization
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Sat, 31 Oct 2015 00:34:06 +0000 (17:34 -0700)]
rgw: move data sync init into the processing thread
that way we don't depend on remote peer to be available
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 30 Oct 2015 23:59:44 +0000 (16:59 -0700)]
rgw: rework incremental md sync error handling
similar to what we do with the full md sync. Identify transient
errors, and if so return -EAGAIN so that caller would retry.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 30 Oct 2015 22:35:57 +0000 (15:35 -0700)]
rgw: move children collection to other method
and call it again instead of just draining at the end
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 30 Oct 2015 22:20:30 +0000 (15:20 -0700)]
rgw: handle transient error in md full sync
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 30 Oct 2015 22:19:35 +0000 (15:19 -0700)]
rgw: coroutine drain fixes
Init drain_cr() before draining, otherwise we wouldn't be able to
call it a second time
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 30 Oct 2015 18:25:48 +0000 (11:25 -0700)]
rgw: RGWCoroutine::spawn() returns stack
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 30 Oct 2015 18:22:42 +0000 (11:22 -0700)]
rgw: a coroutine util function to collect a single stack
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 30 Oct 2015 17:38:00 +0000 (10:38 -0700)]
rgw: rework error handling when syncing a single md entry
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 30 Oct 2015 17:36:26 +0000 (10:36 -0700)]
rgw: get some errors from req_data
When reading request status, we need to check with req_data first,
since it might have failed before we even got the chance to set our
own status.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 29 Oct 2015 23:10:24 +0000 (16:10 -0700)]
rgw: multiple sync initialization and error handling fixes
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 29 Oct 2015 21:14:32 +0000 (14:14 -0700)]
rgw: return -EAGAIN on a connection related http failure
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 29 Oct 2015 21:04:42 +0000 (14:04 -0700)]
rgw: cleanup
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 29 Oct 2015 20:45:40 +0000 (13:45 -0700)]
rgw: error out if failed to build md sync index
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 29 Oct 2015 20:45:21 +0000 (13:45 -0700)]
rgw: init sync env
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 29 Oct 2015 18:25:45 +0000 (11:25 -0700)]
rgw: mdlog full sync, yield for each entry
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 28 Oct 2015 22:30:02 +0000 (15:30 -0700)]
rgw: move sync_oid() and shard_object_name() to sync env
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 28 Oct 2015 21:47:10 +0000 (14:47 -0700)]
rgw: create RGWMetaSyncEnv, use it as container to sync env
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Casey Bodley [Fri, 30 Oct 2015 16:18:59 +0000 (12:18 -0400)]
rgw: RGWPeriod stores sync_status as vector of strings
rgw_meta_sync_status keeps the shards in a std::map, but a std::vector
is more appropriate when all keys are present. the period also doesn't
need to store the full/incremental status in rgw_meta_sync_marker
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Thu, 29 Oct 2015 18:48:28 +0000 (14:48 -0400)]
rgw: store metadata sync status on period commit
store the new master zone's sync status with each new period
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Orit Wasserman [Wed, 28 Oct 2015 20:45:03 +0000 (21:45 +0100)]
make: fix link of ceph_test_cls_rgw_meta
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Wed, 28 Oct 2015 18:16:06 +0000 (19:16 +0100)]
rgw: add rgw_rest_realm.h to the Makefile
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Wed, 28 Oct 2015 18:04:41 +0000 (19:04 +0100)]
rgw: add missing rgw_meta_sync_status.h to the Makefile
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Yehuda Sadeh [Tue, 27 Oct 2015 00:00:46 +0000 (17:00 -0700)]
rgw: account total number of metadata entries for sync
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Mon, 26 Oct 2015 23:31:36 +0000 (16:31 -0700)]
rgw: add backoff and restart to meta sync
also fix lease cr lifecycle
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Mon, 26 Oct 2015 22:50:28 +0000 (15:50 -0700)]
rgw: fix the mdlog sync lock control flow
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Mon, 26 Oct 2015 17:53:36 +0000 (10:53 -0700)]
rgw: use set_cr_error() and set_cr_done() instead of set_state()
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Mon, 26 Oct 2015 17:47:18 +0000 (10:47 -0700)]
rgw: md full sync backoff
Still need to work this out correctly
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Orit Wasserman [Tue, 27 Oct 2015 10:45:45 +0000 (11:45 +0100)]
rgw: create a realm in case of pervious regions configuration
The realm name is concatanation of master region and master zone and its
id is the mds sume of the name
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Mon, 26 Oct 2015 18:50:27 +0000 (19:50 +0100)]
rgw: add support for region format in RGWOp_ZoneGroupMap_Get
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Mon, 26 Oct 2015 17:02:05 +0000 (18:02 +0100)]
rgw: update current_period after adding converted zonegroup
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Mon, 26 Oct 2015 16:59:12 +0000 (17:59 +0100)]
rgw: add RGWRegionMap for backward compatability
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Mon, 26 Oct 2015 15:36:25 +0000 (16:36 +0100)]
rgw: update realm_id when converting a region to zonegroup
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Mon, 26 Oct 2015 12:01:31 +0000 (13:01 +0100)]
rgw: add converted regions into the current period
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Casey Bodley [Wed, 16 Sep 2015 15:19:31 +0000 (11:19 -0400)]
rgw: RGWRealmWatcher to reload RGWRados on changes
adds RGWRealmWatcher, which watches the RGWRealm control object for
changes. in a separate thread, all frontends are paused while the
RGWRados object is replaced with a new one
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Thu, 1 Oct 2015 14:52:45 +0000 (10:52 -0400)]
rgw: period commit calls notify_zone
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Wed, 23 Sep 2015 15:15:10 +0000 (11:15 -0400)]
rgw: add realm control object for watch/notify
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 15 Sep 2015 19:42:10 +0000 (15:42 -0400)]
rgw: add pause/unpause to RGWFrontend interface
RGWProcessFrontend implements pause/unpause through the ThreadPool
interface. RGWMongooseFrontend implements them with a reader/writer
lock that blocks the civetweb_callback() until unpause
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Fri, 23 Oct 2015 20:56:11 +0000 (16:56 -0400)]
rwlock: add prioritize_write flag to prevent write starvation
RWLock's constructor takes an additional 'prioritize_write' flag, which
defaults to false. when enabled, this adds the rwlock attribute
PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP, which will block calls to
pthread_rwlock_rdlock() if there are any writers waiting. this avoids
starvation of pthread_rwlock_wrlock() in read-mostly workloads
also made the destructor non-virtual; this was adding a virtual function
table to the class, even though there are no other virtual functions.
added the 'final' keyword to document that it's not meant to be derived
from
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Thu, 24 Sep 2015 18:16:01 +0000 (14:16 -0400)]
rgw: RGWHTTPManager dtor stops background thread
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Thu, 22 Oct 2015 20:35:51 +0000 (16:35 -0400)]
radosgw-admin: remove period activate in favor of commit
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Thu, 22 Oct 2015 15:27:40 +0000 (11:27 -0400)]
radosgw-admin: add --commit flag for period update
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 20 Oct 2015 18:57:55 +0000 (14:57 -0400)]
radosgw-admin: add 'period commit' command
on the master zone, store the new period locally and notify the zone for
restart. on other zones, send a 'period push' to the master zone with
an empty period id
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Mon, 19 Oct 2015 18:30:12 +0000 (14:30 -0400)]
rgw: period push handler supports commit
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Thu, 22 Oct 2015 13:54:19 +0000 (09:54 -0400)]
rgw: add RGWPeriod::commit()
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Mon, 19 Oct 2015 18:29:47 +0000 (14:29 -0400)]
rgw: period push handler updates current period/epoch
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Mon, 19 Oct 2015 20:35:25 +0000 (16:35 -0400)]
rgw: RGWPeriod accessors are const
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Fri, 16 Oct 2015 21:15:28 +0000 (17:15 -0400)]
radosgw-admin: add realm pull command
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Thu, 22 Oct 2015 15:22:02 +0000 (11:22 -0400)]
radosgw-admin: add send_to_remote_or_url() helper
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Fri, 16 Oct 2015 20:59:06 +0000 (16:59 -0400)]
rgw: add op for GET /admin/realm
this is for the radosgw-admin 'realm pull' command, which gets the realm
object by name or id
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Wed, 21 Oct 2015 13:40:01 +0000 (09:40 -0400)]
rgw: add realm params to period pull
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Fri, 16 Oct 2015 20:41:00 +0000 (16:41 -0400)]
rgw: move period Ops to rgw_rest_realm.cc
this removes the handling of /admin/config?type=period
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Mon, 19 Oct 2015 17:53:16 +0000 (13:53 -0400)]
rgw: period allows setting id, epoch, latest_epoch
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Wed, 21 Oct 2015 15:43:22 +0000 (11:43 -0400)]
rgw: omit epoch in oid for staging period
there should only be one staging period object, so the epoch is
an unnecessary part of its oid. and for period commit, we need to
remember the epoch of the predecessor period to make sure we're not
based on an old epoch
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Thu, 22 Oct 2015 15:23:16 +0000 (11:23 -0400)]
radosgw-admin: add 'period update' to usage
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Wed, 21 Oct 2015 13:08:06 +0000 (09:08 -0400)]
rgw: RGWRemoteMetaLog ctor sets async_rados=nullptr
RGWRemoteMetaLog::init() is not called in all error paths, so we need to
start with nullptr
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 20 Oct 2015 20:26:23 +0000 (16:26 -0400)]
rgw: fix comparison typo in RGWRados::init_complete
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Orit Wasserman [Mon, 26 Oct 2015 11:23:10 +0000 (12:23 +0100)]
rgw: RGWHandler_Config should assume empty type is zonegroupmap
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Yehuda Sadeh [Fri, 23 Oct 2015 00:42:23 +0000 (17:42 -0700)]
rgw: guard metadata full/incremental sync
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 23 Oct 2015 00:00:08 +0000 (17:00 -0700)]
rgw: guard metadata sync initialization step
Guard the fetch-meta stage
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 21 Oct 2015 23:17:07 +0000 (16:17 -0700)]
rgw: a bit better coroutine related logging
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 21 Oct 2015 21:44:34 +0000 (14:44 -0700)]
rgw: initialize rest connection if no period
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 20 Oct 2015 21:57:52 +0000 (14:57 -0700)]
rgw: multiple init metadata sync locking fixes
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Orit Wasserman [Thu, 22 Oct 2015 14:56:53 +0000 (16:56 +0200)]
rgw: backward compatability update_name for existing zones
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Thu, 22 Oct 2015 13:01:59 +0000 (15:01 +0200)]
rgw: update new name after converting region to zonegroup
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Thu, 22 Oct 2015 12:58:51 +0000 (14:58 +0200)]
radosgw-admin: fix zone get command
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Thu, 22 Oct 2015 09:41:21 +0000 (11:41 +0200)]
rgw: use default zone in case there is no period or zone name
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Wed, 21 Oct 2015 15:19:43 +0000 (17:19 +0200)]
rgw: RGWRados zonegroup and zone_public_config should not be accessed directly
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Wed, 21 Oct 2015 14:39:29 +0000 (16:39 +0200)]
rgw: RGWRados internal zone should be protected and not accessed directly
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Wed, 21 Oct 2015 14:18:04 +0000 (16:18 +0200)]
rgw: fix RGWSystemMetaObj::init by passing old_format flag
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Wed, 21 Oct 2015 09:24:43 +0000 (11:24 +0200)]
rgw: convert regionmap
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Tue, 20 Oct 2015 08:19:02 +0000 (10:19 +0200)]
rgw: add support to zonegroupmap set
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Mon, 19 Oct 2015 15:16:58 +0000 (17:16 +0200)]
radosgw-admin: zonegroupmap get should no error if no realm or period
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Mon, 19 Oct 2015 12:37:59 +0000 (14:37 +0200)]
rgw: no need to store or update zonegroupmap
Structure and command will be kept for backward compatability
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Mon, 19 Oct 2015 10:45:05 +0000 (12:45 +0200)]
rgw: remove zonegroup_map from RGWRados
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Casey Bodley [Thu, 1 Oct 2015 17:29:10 +0000 (13:29 -0400)]
cmake: move link dependencies to rgw_a
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Daniel Gryniewicz [Mon, 21 Sep 2015 15:50:45 +0000 (11:50 -0400)]
CMake - add check for libcurl
Signed-off-by: Daniel Gryniewicz <dang@fprintf.net>
Yehuda Sadeh [Mon, 19 Oct 2015 18:11:21 +0000 (11:11 -0700)]
rgw: don't read/init sync status if meta master
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Mon, 19 Oct 2015 18:11:14 +0000 (11:11 -0700)]
rgw: fix log message
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 16 Oct 2015 22:48:39 +0000 (15:48 -0700)]
rgw: can set zone read-only, can set zonegroup id
and other fixes
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Orit Wasserman [Mon, 19 Oct 2015 10:28:19 +0000 (12:28 +0200)]
rgw: update rest connections from the current period
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Mon, 19 Oct 2015 10:19:14 +0000 (12:19 +0200)]
rgw: read local zonegroup and zone only when needed
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Mon, 19 Oct 2015 09:51:35 +0000 (11:51 +0200)]
rgw: use current_period zonegroup and zone when exists
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Mon, 19 Oct 2015 09:23:21 +0000 (11:23 +0200)]
rgw: read current period during init
Signed-off-by: Orit Wasserman <owasserm@redhat.com>