]> git-server-git.apps.pok.os.sepia.ceph.com Git - radosgw-agent.git/log
radosgw-agent.git
12 years agoAdds data sync capabilities to test server 1/head
Christophe Courtaut [Mon, 23 Sep 2013 14:25:25 +0000 (16:25 +0200)]
Adds data sync capabilities to test server

12 years agoFix cli to match obj/method names according to sync.py
Christophe Courtaut [Mon, 23 Sep 2013 13:59:43 +0000 (15:59 +0200)]
Fix cli to match obj/method names according to sync.py

Signed-off-by: Christophe Courtaut <christophe.courtaut@gmail.com>
12 years agoSet up full data sync
Josh Durgin [Fri, 13 Sep 2013 20:01:34 +0000 (13:01 -0700)]
Set up full data sync

Get data log markers and store them after all buckets are synced. Also
get bucket-index markers for each bucket, and update them in the
bucket index replica log once syncing is complete. The bucket-index
replica log updates should be moved to happend after each bucket once
the actual object copying is implemented.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
12 years agoRefactor sync and fix errors found by pyflakes
Josh Durgin [Wed, 11 Sep 2013 01:17:44 +0000 (18:17 -0700)]
Refactor sync and fix errors found by pyflakes

Instead of 4 copies of queue and worker creation
and results gathering, just have one, with subclasses
that can add special behavior at the beginning or end.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
12 years agoclient: escape bucket and object names used in urls
Josh Durgin [Tue, 10 Sep 2013 00:19:12 +0000 (17:19 -0700)]
client: escape bucket and object names used in urls

Convert to utf8 since urllib doesn't handle unicode well in python 2.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
12 years agoclient: fix spacing
Josh Durgin [Tue, 10 Sep 2013 00:14:32 +0000 (17:14 -0700)]
client: fix spacing

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
12 years agosync: remove extraneous error checking
Josh Durgin [Tue, 10 Sep 2013 00:12:24 +0000 (17:12 -0700)]
sync: remove extraneous error checking

These loops all end once a result of any sort is received for a child
process. It will already complete if every worked has a connection
error.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
12 years agoGetting code readh for handoff
Joe Buck [Tue, 27 Aug 2013 18:14:06 +0000 (11:14 -0700)]
Getting code readh for handoff

Signed-off-by: Joe Buck <jbbuck@gmail.com>
12 years agoImprove exception handling
Joe Buck [Fri, 30 Aug 2013 16:26:46 +0000 (09:26 -0700)]
Improve exception handling

Catch exceptions and continue syncing items
in that shard but do NOT update the worker
bounds. This will result in redundant work
but prevents an error from stopping
the syncing of objects 'after' that object
in the same shard.

Signed-off-by: Joe Buck <jbbuck@gmail.com>
Reviewd-by: Josh Durgin <josh.durgin@inktank.com>
12 years agosetup.py: Add a version range to the python-boto dependency.
Gary Lowell [Mon, 26 Aug 2013 23:38:37 +0000 (16:38 -0700)]
setup.py:  Add a version range to the python-boto dependency.

Signed-off-by: Gary Lowell <gary.lowell@inktank.com>
12 years agosetup.cfg: Dependencies for rpm builds.
Gary Lowell [Mon, 26 Aug 2013 22:01:49 +0000 (15:01 -0700)]
setup.cfg:  Dependencies for rpm builds.

These should track the dependencies listed in setup.py and
requirements.txt.

Signed-off-by: Gary Lowell <gary.lowell@inktank.com>
12 years agodebian: Initial version debian control files
Gary Lowell [Mon, 26 Aug 2013 16:23:56 +0000 (09:23 -0700)]
debian:  Initial version debian control files

Signed-off-by: Gary Lowell <gary.lowell@inktank.com>
12 years agorename partial sync to incremental sync
Yehuda Sadeh [Mon, 5 Aug 2013 17:50:28 +0000 (10:50 -0700)]
rename partial sync to incremental sync

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agoset bounds on the dest zone, not on the source zone
Yehuda Sadeh [Sat, 3 Aug 2013 05:20:00 +0000 (22:20 -0700)]
set bounds on the dest zone, not on the source zone

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agotest api: init response to empty
Josh Durgin [Fri, 26 Jul 2013 23:25:31 +0000 (16:25 -0700)]
test api: init response to empty

This way len() etc works on it.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
12 years agoAdd a quick and dirty http serving mode for testing
Josh Durgin [Thu, 25 Jul 2013 22:53:00 +0000 (15:53 -0700)]
Add a quick and dirty http serving mode for testing

POST to --test-server-host:--test-server-port/metadata/[partial|full]
to do a partial or full metadata sync. The server will respond
when the sync is complete.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
12 years agocli: use new name for partial sync delay
Josh Durgin [Fri, 19 Jul 2013 18:16:46 +0000 (11:16 -0700)]
cli: use new name for partial sync delay

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>