]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Casey Bodley [Wed, 9 Sep 2015 14:52:41 +0000 (10:52 -0400)]
radosgw-admin: add realm set command
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 8 Sep 2015 17:47:48 +0000 (13:47 -0400)]
radosgw-admin: add json output to create commands
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Orit Wasserman [Fri, 11 Sep 2015 09:23:28 +0000 (11:23 +0200)]
rgw: fix period init and activate
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Wed, 9 Sep 2015 16:35:26 +0000 (18:35 +0200)]
rgw: update period predecessor when it is activated
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Wed, 9 Sep 2015 16:20:28 +0000 (18:20 +0200)]
rgw: fix realm list-periods
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Wed, 9 Sep 2015 12:53:40 +0000 (14:53 +0200)]
rgw: realm id and epoch should be part of period oid
fixes period get and activate command
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Wed, 9 Sep 2015 09:34:19 +0000 (11:34 +0200)]
rgw: Add realm list-periods command
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Wed, 9 Sep 2015 08:54:47 +0000 (10:54 +0200)]
radosgw-admin: Add master_zonegroup and master_zone to period prepare
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Wed, 9 Sep 2015 08:40:01 +0000 (10:40 +0200)]
radosgw-admin: Add period list command
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Wed, 9 Sep 2015 07:59:05 +0000 (09:59 +0200)]
radosgw-admin: print new perion in period perpare command
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Tue, 8 Sep 2015 12:28:07 +0000 (14:28 +0200)]
rgw: fix zone set command
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Tue, 8 Sep 2015 11:33:52 +0000 (13:33 +0200)]
rgw: remove debug messages
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Tue, 8 Sep 2015 11:25:59 +0000 (13:25 +0200)]
rgw: default zone should not be master
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Mon, 7 Sep 2015 17:28:16 +0000 (19:28 +0200)]
radosgw-admin: add zone create, delete and rename commands
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Mon, 7 Sep 2015 09:09:11 +0000 (11:09 +0200)]
rgw: RGWZoneParams should inherit from RGWSystemMetaObj
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Mon, 7 Sep 2015 08:27:26 +0000 (10:27 +0200)]
rgw: use id for master zone
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Mon, 7 Sep 2015 08:27:01 +0000 (10:27 +0200)]
rgw: add id to RGWZoneParams
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Fri, 19 Jun 2015 13:21:55 +0000 (15:21 +0200)]
rgw: Add RGWSystemMetaObj class
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Conflicts:
src/rgw/rgw_rados.cc
Yehuda Sadeh [Thu, 3 Sep 2015 20:27:58 +0000 (13:27 -0700)]
rgw-admin: adjustments to period get-current output
Make it output through the formatter
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 3 Sep 2015 20:21:17 +0000 (13:21 -0700)]
rgw-admin: use default realm on realm get
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 3 Sep 2015 18:35:05 +0000 (11:35 -0700)]
rgw: pass const string reference
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 3 Sep 2015 18:34:49 +0000 (11:34 -0700)]
rgw-admin: fix realms list
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 3 Sep 2015 17:58:56 +0000 (10:58 -0700)]
rgw: fix typo
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 3 Sep 2015 00:25:51 +0000 (17:25 -0700)]
rgw: do the actual incremental metadata sync
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 2 Sep 2015 23:22:23 +0000 (16:22 -0700)]
rgw: track mdlog marker
sync entries if the sync marker is < mdlog marker, otherwise
try to fetch more entries.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 2 Sep 2015 23:21:47 +0000 (16:21 -0700)]
rgw: don't force wait on blocked coroutines
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 2 Sep 2015 21:50:31 +0000 (14:50 -0700)]
rgw: fix busy wait in RGWHTTPManager
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 2 Sep 2015 20:09:44 +0000 (13:09 -0700)]
rgw: sync local mdlog if needed
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 2 Sep 2015 15:36:29 +0000 (08:36 -0700)]
rgw: wake up wait coroutine thread on destruction
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Orit Wasserman [Tue, 14 Jul 2015 13:22:14 +0000 (15:22 +0200)]
Add zone create admin command - wip
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Thu, 3 Sep 2015 08:49:44 +0000 (10:49 +0200)]
rgw: add id to RGWZone
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Yehuda Sadeh [Wed, 2 Sep 2015 00:05:11 +0000 (17:05 -0700)]
rgw: poll mdlog for incremental sync
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 1 Sep 2015 23:18:32 +0000 (16:18 -0700)]
rgw: read mdlog entries for incremental sync
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 1 Sep 2015 03:50:54 +0000 (20:50 -0700)]
rgw: get remote mdlog status when initializing
Use that as the lowerbound for the meta marker when we start
the incremental sync.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 1 Sep 2015 02:22:53 +0000 (19:22 -0700)]
rgw: hash full sync keys to shards
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Sat, 29 Aug 2015 02:27:06 +0000 (19:27 -0700)]
rgw: switch to incremental sync when done full meta sync
each shard need to collect the coroutines it spawned before continuing.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 28 Aug 2015 20:35:44 +0000 (13:35 -0700)]
rgw: update global sync state after building meta indexes
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 28 Aug 2015 18:52:08 +0000 (11:52 -0700)]
rgw: update meta sync markers during full sync operation
update marker per shard, keep a window so that we don't update after each change
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Orit Wasserman [Tue, 1 Sep 2015 12:30:38 +0000 (14:30 +0200)]
rgw: add zonegroup name or id to zonegroup get and set commands
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Tue, 1 Sep 2015 11:03:11 +0000 (13:03 +0200)]
rgw: Add zonegroup create, delete and rename admin commands
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Tue, 1 Sep 2015 10:38:39 +0000 (12:38 +0200)]
rgw: add period activate admin command and fix get current command
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Tue, 1 Sep 2015 09:55:27 +0000 (11:55 +0200)]
rgw: add current_period to RGWRealm
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Wed, 26 Aug 2015 14:43:49 +0000 (16:43 +0200)]
rgw: RGWZoneGroup should inheirt from RGWSystemMetaObj
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Tue, 25 Aug 2015 13:05:13 +0000 (15:05 +0200)]
rgw: Add old_format support to RGWSystemMetaObj
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Thu, 20 Aug 2015 10:07:20 +0000 (12:07 +0200)]
rgw: add id to zonegroup
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Thu, 20 Aug 2015 10:07:44 +0000 (12:07 +0200)]
rgw: remove region
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Mon, 10 Aug 2015 16:19:02 +0000 (18:19 +0200)]
rgw: change RGWZoneGroup::get_pool_name to return string
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Fri, 7 Aug 2015 12:01:39 +0000 (14:01 +0200)]
rgw: convert old region configuration to zonegroups during init
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Thu, 27 Aug 2015 09:09:07 +0000 (11:09 +0200)]
fix ceph-dencoder link
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Thu, 6 Aug 2015 15:40:03 +0000 (17:40 +0200)]
cmake: add rgw_sync.cc and rgw_coroutine.cc
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Yehuda Sadeh [Sat, 15 Aug 2015 00:34:47 +0000 (17:34 -0700)]
rgw: fix async sleep and wakeup logic
lot's of cleanups and fixes
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 25 Aug 2015 00:10:46 +0000 (17:10 -0700)]
rgw: full meta sync
need to handle errors, and update markers, but full meta sync is functional
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Mon, 24 Aug 2015 21:49:28 +0000 (14:49 -0700)]
rgw: naively fetch all meta objects
doing it one by one, later will spawn these concurrently
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 19 Aug 2015 00:14:05 +0000 (17:14 -0700)]
rgw: read remote meta coroutine
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 18 Aug 2015 23:41:55 +0000 (16:41 -0700)]
rgw: read full sync indexes
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 18 Aug 2015 21:18:53 +0000 (14:18 -0700)]
rgw: modify sync state, sync run uses state
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 18 Aug 2015 20:43:39 +0000 (13:43 -0700)]
rgw: coroutie for omap_get_vals()
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 18 Aug 2015 18:57:27 +0000 (11:57 -0700)]
rgw: keep track of spawned coroutines under the current op
instead of keeping a per-stack list of spawned coroutines, keep it
on the op that spawned it. Otherwise, we might spawn a cr, call a second
one that will spawn some crs, and when waiting for these to complete
it will also wait on the first one.
The list of spawned coroutines is inherited. Once a coroutine finishes
its parent will take over all the spawned ones that weren't collected.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 18 Aug 2015 00:13:13 +0000 (17:13 -0700)]
rgw: replace omap_set coroutine code
No need to use the async rados worker.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Sat, 15 Aug 2015 01:45:23 +0000 (18:45 -0700)]
rgw: fix the simple coroutine
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Sat, 15 Aug 2015 00:34:47 +0000 (17:34 -0700)]
rgw: fix async sleep and wakeup logic
lot's of cleanups and fixes
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 14 Aug 2015 19:33:11 +0000 (12:33 -0700)]
rgw: coroutines producer consumers
Create a new producer-consumer(s) abstraction for the coroutines
infrastructure.
Move environment info from the op into the stack. Stack can be
sent to sleep and awaken explicitly.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 14 Aug 2015 05:59:51 +0000 (22:59 -0700)]
rgw: build index of all master zone meta keys
still wip, but getting there
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 13 Aug 2015 01:28:31 +0000 (18:28 -0700)]
rgw: create a coroutine for fetching REST api objects
this simplifies the code that yanks all the metadata from the master
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 13 Aug 2015 00:47:50 +0000 (17:47 -0700)]
rgw: fetch all metadata entries
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 12 Aug 2015 22:41:16 +0000 (15:41 -0700)]
rgw: meta sync cleanups
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 12 Aug 2015 21:03:17 +0000 (14:03 -0700)]
rgw: remove calls for synchronous rados ops
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 12 Aug 2015 20:49:36 +0000 (13:49 -0700)]
radosgw-admin: dump shard status on mdlog sync status
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 12 Aug 2015 18:55:31 +0000 (11:55 -0700)]
rgw: initialize all shard markers
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 12 Aug 2015 18:40:40 +0000 (11:40 -0700)]
rgw: return error if any spawned op errored
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 11 Aug 2015 22:20:02 +0000 (15:20 -0700)]
rgw: iterate through all mdlog sync status shards
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 11 Aug 2015 21:43:02 +0000 (14:43 -0700)]
rgw: remove unused code, cleanups
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 11 Aug 2015 20:48:57 +0000 (13:48 -0700)]
rgw: adjust mdlog fetch to use new interfaces
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 11 Aug 2015 20:39:19 +0000 (13:39 -0700)]
rgw: fix init mdlog sync
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 11 Aug 2015 07:41:39 +0000 (00:41 -0700)]
rgw: mdlog sync init
initialize mdlog sync state, uses the implicit yield scheme (from boost)
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 11 Aug 2015 06:21:46 +0000 (23:21 -0700)]
rgw: use boost for stackless coroutine flow
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Mon, 10 Aug 2015 20:57:05 +0000 (13:57 -0700)]
rgw: add cookie to lock coroutines
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Mon, 10 Aug 2015 20:49:05 +0000 (13:49 -0700)]
rgw: more lock/unlock coroutines work
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 7 Aug 2015 23:51:13 +0000 (16:51 -0700)]
rgw: prepare rados lock operation to be used with coroutines
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 7 Aug 2015 22:02:13 +0000 (15:02 -0700)]
rgw: simple rgw metadata write coroutine
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 7 Aug 2015 21:17:33 +0000 (14:17 -0700)]
rgw: move coroutines code
move the generic code to rgw_coroutine.{h,cc}
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 6 Aug 2015 23:11:34 +0000 (16:11 -0700)]
rgw: return retcode of failing coroutine
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 6 Aug 2015 22:37:46 +0000 (15:37 -0700)]
rgw: rename async ops to coroutines
which they basically are
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 6 Aug 2015 18:26:31 +0000 (11:26 -0700)]
rgw: fail if master zone tries to use meta sync
We'll change it later, but as it is now that's the way to handle it
gracefully.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Orit Wasserman [Tue, 28 Jul 2015 11:36:44 +0000 (13:36 +0200)]
rgw: Fix init_complete
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Mon, 13 Jul 2015 16:32:46 +0000 (18:32 +0200)]
rgw: support old region configurations
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Tue, 14 Jul 2015 11:53:08 +0000 (13:53 +0200)]
rgw: Remove region admin commands
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Mon, 13 Jul 2015 13:07:25 +0000 (15:07 +0200)]
rgw: Add zone group admin commands
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Tue, 14 Jul 2015 08:53:43 +0000 (10:53 +0200)]
rgw: zonegroup json encoding/decoding with backward compatability
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Mon, 13 Jul 2015 12:56:53 +0000 (14:56 +0200)]
rgw: Rename Region to ZoneGroup only internal structures and class
User visuable are not changed: admin commands, jsons and rados objects names
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Conflicts:
src/rgw/rgw_admin.cc
src/rgw/rgw_rados.cc
Orit Wasserman [Mon, 29 Jun 2015 14:48:34 +0000 (16:48 +0200)]
rgw: Add period admin commands and rest api to handle period
the new commands are prepare,delete, get, activate, pull and push
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Conflicts:
src/rgw/rgw_admin.cc
Orit Wasserman [Thu, 25 Jun 2015 08:45:24 +0000 (10:45 +0200)]
rgw: Add RGWPeriod
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Thu, 18 Jun 2015 10:53:00 +0000 (12:53 +0200)]
rgw: Add RGWRealm class and admin commands to handle it
admin realm commands: create, get, delete, rename, set-default and get-default
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Thu, 18 Jun 2015 10:56:37 +0000 (12:56 +0200)]
rgw: Use switch for raw storage opcodes
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Fri, 3 Jul 2015 15:03:06 +0000 (17:03 +0200)]
rgw: use string for default realm
Conflicts:
src/rgw/rgw_rados.cc
Orit Wasserman [Fri, 19 Jun 2015 13:21:55 +0000 (15:21 +0200)]
rgw: Add RGWSystemMetaObj class
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Conflicts:
src/rgw/rgw_rados.cc
Orit Wasserman [Fri, 12 Jun 2015 23:29:12 +0000 (01:29 +0200)]
rgw: Add RGWNameToId and RGWDefaultSystemMetaObjInfo
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Tue, 28 Jul 2015 16:42:33 +0000 (18:42 +0200)]
rgw: fix test_rgw_admin_log.cc
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Tue, 28 Jul 2015 15:53:31 +0000 (17:53 +0200)]
cmake: add rgw_sync.cc
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Yehuda Sadeh [Thu, 6 Aug 2015 00:19:11 +0000 (17:19 -0700)]
rgw: async ops can generate new stacks for parallel execution
Can now have an op generating another op that will be called at
a different stack. The current op will halt execution until new
op finishes. We can call this multiple times so that multiple ops
will be executed concurrently. This can be useful in the case we
want to generate a single op that will read from multiple objects,
after it had read some meta information. So the root op will read
the meta information and will generate multiple request that will
execute concurrently (albeit on a single thread).
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>