]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Yehuda Sadeh [Thu, 16 Jun 2011 00:06:55 +0000 (17:06 -0700)]
rgw: implement list multiparts
doesn't work completely, getting there
Yehuda Sadeh [Wed, 15 Jun 2011 17:16:42 +0000 (10:16 -0700)]
rgw: fix abort multipart upload
Yehuda Sadeh [Fri, 10 Jun 2011 17:07:55 +0000 (10:07 -0700)]
rgw: remove required indexes when modifying user info
Yehuda Sadeh [Fri, 10 Jun 2011 05:15:01 +0000 (22:15 -0700)]
rgw: remove clutter
Yehuda Sadeh [Fri, 10 Jun 2011 05:05:55 +0000 (22:05 -0700)]
rgw: fix user anonymous permissions
Yehuda Sadeh [Fri, 10 Jun 2011 00:03:23 +0000 (17:03 -0700)]
rgw: can specify alternative remote addr http header param
Yehuda Sadeh [Thu, 9 Jun 2011 23:40:58 +0000 (16:40 -0700)]
rgw: skeleton for list multipart uploads
Yehuda Sadeh [Thu, 9 Jun 2011 20:57:30 +0000 (13:57 -0700)]
rgw: implement abort multipart upload
(not tested yet)
Yehuda Sadeh [Thu, 9 Jun 2011 20:25:46 +0000 (13:25 -0700)]
rgw: implement namespace, use it in complete multipart
Yehuda Sadeh [Wed, 8 Jun 2011 20:14:45 +0000 (13:14 -0700)]
rgw: set locator on all required rados calls
Yehuda Sadeh [Wed, 8 Jun 2011 20:10:01 +0000 (13:10 -0700)]
rgw: put locator key in rgw_obj
Yehuda Sadeh [Wed, 8 Jun 2011 19:32:50 +0000 (12:32 -0700)]
rgw: refactor rgw backend interface
Yehuda Sadeh [Tue, 7 Jun 2011 21:41:23 +0000 (14:41 -0700)]
rgw: remove parts after multi-part upload
Yehuda Sadeh [Tue, 7 Jun 2011 21:13:59 +0000 (14:13 -0700)]
rgw: calc etag for multipart upload
Yehuda Sadeh [Mon, 6 Jun 2011 22:09:25 +0000 (15:09 -0700)]
rgw: silence gitbuilder (hopefully)
Yehuda Sadeh [Mon, 6 Jun 2011 19:27:33 +0000 (12:27 -0700)]
osd: use osd_op.soid in call
Sage Weil [Mon, 6 Jun 2011 19:27:28 +0000 (12:27 -0700)]
osd: allow src_oids to be snapped
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Mon, 6 Jun 2011 17:09:30 +0000 (10:09 -0700)]
osd: src oid is in OSDOp now
Signed-off-by: Sage Weil <sage@newdream.net>
Yehuda Sadeh [Mon, 6 Jun 2011 16:54:28 +0000 (09:54 -0700)]
osd: don't crash on malformed clone_range (now really)
Yehuda Sadeh [Mon, 6 Jun 2011 16:46:56 +0000 (09:46 -0700)]
osd: don't crash on invalid encoded clone_range
Sage Weil [Mon, 6 Jun 2011 16:42:58 +0000 (09:42 -0700)]
objecter: set src oid on clone_range properly
Signed-off-by: Sage Weil <sage@newdream.net>
Yehuda Sadeh [Sat, 4 Jun 2011 00:17:48 +0000 (17:17 -0700)]
messages: fix missing bit
Yehuda Sadeh [Sat, 4 Jun 2011 00:08:53 +0000 (17:08 -0700)]
messages: fix test for multi op
Yehuda Sadeh [Fri, 3 Jun 2011 22:13:37 +0000 (15:13 -0700)]
rgw: multipart complete upload
Yehuda Sadeh [Fri, 3 Jun 2011 21:31:20 +0000 (14:31 -0700)]
librados: remove useless reference holding
Sage Weil [Fri, 3 Jun 2011 22:12:04 +0000 (15:12 -0700)]
osd: make CLONERANGE src oid encoding more sane
Encode the src_oid in the OSDOp data space, but put it in a separate easy
to access member. This avoids changing the overall MOSDOp encoding, and
seems cleaner overall.
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Fri, 3 Jun 2011 21:47:51 +0000 (14:47 -0700)]
osd: src src_oids oloc check
We need to ensure that the src and dst objects are always in the same pg.
That is true if
- both oloc.keys match, or
- the (src,dst) oloc.key matches the (dst,src) object name
Signed-off-by: Sage Weil <sage@newdream.net>
Yehuda Sadeh [Fri, 3 Jun 2011 21:09:34 +0000 (14:09 -0700)]
librados: get reference to the io context for the pending async ops
Yehuda Sadeh [Fri, 3 Jun 2011 21:02:51 +0000 (14:02 -0700)]
rgw: use clone_range for multi upload completion
Yehuda Sadeh [Fri, 3 Jun 2011 18:22:11 +0000 (11:22 -0700)]
librados: support clone_range
Yehuda Sadeh [Fri, 3 Jun 2011 16:14:39 +0000 (09:14 -0700)]
Merge branch 'osd_clonerange' into rgw-multipart
Yehuda Sadeh [Thu, 2 Jun 2011 23:58:27 +0000 (16:58 -0700)]
rgw: multipart: use locator on created parts
Yehuda Sadeh [Thu, 2 Jun 2011 22:24:11 +0000 (15:24 -0700)]
rgw: multipart additions and fixes
Yehuda Sadeh [Thu, 2 Jun 2011 20:45:20 +0000 (13:45 -0700)]
rgw: some more multipard upload list
Yehuda Sadeh [Thu, 2 Jun 2011 20:33:49 +0000 (13:33 -0700)]
rgw: extend multipart list parts response
Sage Weil [Thu, 2 Jun 2011 20:22:59 +0000 (13:22 -0700)]
osd: implement clonerange
Clone ranges of bytes between objects, provided
- src object locators match dest object
- src objects are not missing
- src objects are all head (CEPH_NOSNAP)
-
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Thu, 2 Jun 2011 20:24:03 +0000 (13:24 -0700)]
osd: give obc refs to RepGather
Just give the ref to RepGather instead of doing a get and put.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Yehuda Sadeh [Thu, 2 Jun 2011 17:39:18 +0000 (10:39 -0700)]
rgw: more cleanup
Yehuda Sadeh [Thu, 2 Jun 2011 17:28:24 +0000 (10:28 -0700)]
rgw: some cleanup
Yehuda Sadeh [Thu, 2 Jun 2011 16:49:30 +0000 (09:49 -0700)]
rgw: multipart upload parser test util
Yehuda Sadeh [Thu, 2 Jun 2011 16:39:30 +0000 (09:39 -0700)]
rgw: fix multipart upload complete parser
Yehuda Sadeh [Thu, 2 Jun 2011 16:30:48 +0000 (09:30 -0700)]
rgw: multipart complete fix
Sage Weil [Thu, 2 Jun 2011 16:19:39 +0000 (09:19 -0700)]
filestore: allow clone_range to different offsets
The old OP_CLONERANGE would only clone a range of bytes at the same offset
in both objects. Add an OP_CLONERANGE2 op code that adds a dst offset.
Continue to support the old op code so that we can decode old transactions.
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Thu, 2 Jun 2011 16:17:02 +0000 (09:17 -0700)]
filestore: fix fallback/slow do_clone_range
We need to seek to the appropriate offsets on the src and destination
fd's for this to do the right thing.
Signed-off-by: Sage Weil <sage@newdream.net>
Yehuda Sadeh [Wed, 1 Jun 2011 22:13:49 +0000 (15:13 -0700)]
rgw: implement list multipart
still partially implemented
Yehuda Sadeh [Tue, 31 May 2011 23:05:45 +0000 (16:05 -0700)]
rgw: handle multipart completion
still wip
Yehuda Sadeh [Tue, 31 May 2011 22:32:47 +0000 (15:32 -0700)]
rgw: parser for multi upload completion
Yehuda Sadeh [Tue, 31 May 2011 21:59:40 +0000 (14:59 -0700)]
rgw: some more xml reshuffling
Yehuda Sadeh [Tue, 31 May 2011 21:31:57 +0000 (14:31 -0700)]
rgw: move generic xml parsing code to some shared location
Sage Weil [Tue, 31 May 2011 21:28:52 +0000 (14:28 -0700)]
objecter, osd: clonerange operation
Add a src_oids field to MOSDOp, referenced by a new CLONERANGE osd op type
that will clone data from one object to another.
- The src_oids will need to have the same locator as the destination object
type to ensure this operation can succeed.
- The OSD is going to have to do extra work to ensure the src object(s)
are readable, etc., at the time of the clone.
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Thu, 28 Apr 2011 04:28:26 +0000 (21:28 -0700)]
librados: implement aio_flush
Implement a per-ioctx flush that blocks until all previously submitted
aio operations on the ioctx are safe. Each aio gets a sequence number and
is put on a linked list attached to the ioctx. The flush operation waits
for it to drain to the watermark set when flush is first called.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Tue, 31 May 2011 20:45:51 +0000 (13:45 -0700)]
crushtool: error out if uniform weights vary
Fixes: #1075
Signed-off-by: Sage Weil <sage@newdream.net>
Josh Durgin [Tue, 31 May 2011 20:26:58 +0000 (13:26 -0700)]
osd: fix ScrubFinalizeWQ::_clear condition
Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
Sage Weil [Tue, 31 May 2011 19:58:35 +0000 (12:58 -0700)]
debian: depend on libboost-dev >= 1.34
for statechart. Partially fixes #1124.
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Wed, 25 May 2011 23:22:19 +0000 (16:22 -0700)]
osd: don't leak Connection reference
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Wed, 25 May 2011 23:22:06 +0000 (16:22 -0700)]
osd: ignore old/stale heartbeat messages
If we get heartbeat messages from old epochs from peers that are not
current, drop them and mark the connection down. Even if they are peers
we _should_ have (because we haven't gotten a notify yet to learn about
a pg we should have but don't yet) we have a newer map epoch and will learn
about them shortly, reopening the connection.
Fixes: #1107
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Wed, 25 May 2011 23:20:26 +0000 (16:20 -0700)]
osd: fix map sharing due to heartbeats
- share the map with the cluster addr
- use the new {note,get}_peer_epoch helpers to do it sanely
- don't share if we're booting; see
818fa33a661
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Mon, 30 May 2011 19:37:31 +0000 (12:37 -0700)]
crushtool: add -v verbose for --test mode
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Colin Patrick McCabe [Fri, 27 May 2011 21:46:19 +0000 (14:46 -0700)]
hadoop: track Hadoop API changes
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Yehuda Sadeh [Fri, 27 May 2011 21:22:55 +0000 (14:22 -0700)]
rgw: generate random upload id
Colin Patrick McCabe [Fri, 27 May 2011 21:04:36 +0000 (14:04 -0700)]
SimpleMessenger: allow multiple calls to shutdown
Fixes a case where radostool crashed on an error shutdown.
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Fri, 27 May 2011 21:01:45 +0000 (14:01 -0700)]
common/Thread.h: const cleanup
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Yehuda Sadeh [Fri, 27 May 2011 20:35:47 +0000 (13:35 -0700)]
rgw: fix signing for some requests
Yehuda Sadeh [Fri, 27 May 2011 19:50:27 +0000 (12:50 -0700)]
rgw: serve multipard init upload
still needs to generate a random hidden object, and use rados locator
for accessing it.
Colin Patrick McCabe [Fri, 27 May 2011 17:59:21 +0000 (10:59 -0700)]
Merge branch 'wip-obsync'
Sage Weil [Fri, 27 May 2011 04:37:03 +0000 (21:37 -0700)]
mkcephfs: pass config to osdmaptool
This lets OSDMap::create_simple() see g_conf.osd_pool_default_size when
creating the initial data, metadata, and rbd pools.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Fri, 27 May 2011 04:31:18 +0000 (21:31 -0700)]
drop useless cm.txt
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Fri, 27 May 2011 04:20:55 +0000 (21:20 -0700)]
osdmap: take default pool size from config
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Yehuda Sadeh [Thu, 26 May 2011 22:18:48 +0000 (15:18 -0700)]
rgw: handle POST requests for s3
Sage Weil [Thu, 26 May 2011 22:07:37 +0000 (15:07 -0700)]
crushtool: update help
Signed-off-by: Sage Weil <sage@newdream.net>
Colin Patrick McCabe [Thu, 26 May 2011 20:28:39 +0000 (13:28 -0700)]
obysnc: rgw target: validate all users
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Thu, 26 May 2011 20:17:03 +0000 (13:17 -0700)]
Merge branch 'wip-obsync'
Sage Weil [Thu, 26 May 2011 20:17:12 +0000 (13:17 -0700)]
mon: remove pg_temp mappings when we delete pools
Signed-off-by: Sage Weil <sage@newdream.net>
Colin Patrick McCabe [Thu, 26 May 2011 20:15:50 +0000 (13:15 -0700)]
test-obsync: test sync directly from s3->rgw
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Sage Weil [Thu, 26 May 2011 20:12:04 +0000 (13:12 -0700)]
crushtool: fix --add-item weight being zero when parent bucket(s) created
Signed-off-by: Sage Weil <sage@newdream.net>
Colin Patrick McCabe [Thu, 26 May 2011 18:21:23 +0000 (11:21 -0700)]
obsync: fix bucket creation through rgw target
The rgw: target can now create buckets. Add a test.
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Sage Weil [Thu, 26 May 2011 18:04:03 +0000 (11:04 -0700)]
Merge branch 'stable'
Colin Patrick McCabe [Thu, 26 May 2011 17:25:40 +0000 (10:25 -0700)]
test-obsync: test big objects, user-defined xattr
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Sage Weil [Thu, 26 May 2011 17:19:04 +0000 (10:19 -0700)]
mkcephfs: set rdir for local mon setup
Fixes: #1113
Reported-by: Bernard Grymonpon <bernard@openminds.be>
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Thu, 26 May 2011 16:55:37 +0000 (09:55 -0700)]
init-ceph: ssh
Another bell/whistle.
Signed-off-by: Sage Weil <sage@newdream.net>
Colin Patrick McCabe [Thu, 26 May 2011 00:48:02 +0000 (17:48 -0700)]
obysnc: fix content-type on RGWStore
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Thu, 26 May 2011 00:36:36 +0000 (17:36 -0700)]
test-obsync: compare_directory now compares xattrs
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Wed, 25 May 2011 22:55:22 +0000 (15:55 -0700)]
ceph-pybind-test: test embedded NULLs in data
Test embedded nulls in rados data. Fix a bug in rados.Object.__str__
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Wed, 25 May 2011 22:49:10 +0000 (15:49 -0700)]
obsync: more fixes for RgwStore
* Fix content-type handling
* add vvprint and use it in Object::equals.
* support RgwStore::prefix
* more tests
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Wed, 25 May 2011 22:48:31 +0000 (15:48 -0700)]
pybind/rados: correctly return data with NULLs
Correctly handle returning data with embedded NULLs in it.
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Wed, 25 May 2011 22:21:37 +0000 (15:21 -0700)]
pybind/rados.py: throw NoData on ENODATA
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Sage Weil [Wed, 25 May 2011 21:54:15 +0000 (14:54 -0700)]
mds: fix canceled lock attempt
If client tries to lock a file, has to wait, and then cancels the attempt,
the client will send an unlock request to unwind its state.
- the unlock now removes the waiting lock attempt from the wait list
- when the lock request retries and finds it is no longer on the wait
list it will fail.
Signed-off-by: Sage Weil <sage@newdream.net>
Colin Patrick McCabe [Wed, 25 May 2011 21:22:51 +0000 (14:22 -0700)]
pybind/rados.py: rados.Object.key should be string
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Wed, 25 May 2011 19:58:39 +0000 (12:58 -0700)]
obysnc: RgwStore: make sure destination users exist
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Wed, 25 May 2011 19:36:37 +0000 (12:36 -0700)]
obsync: fix DST_OWNER
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Yehuda Sadeh [Wed, 25 May 2011 19:32:50 +0000 (12:32 -0700)]
rgw: return EACCES if acl xattr doesn't exist
Colin Patrick McCabe [Wed, 25 May 2011 19:05:15 +0000 (12:05 -0700)]
obsync: Add boto_retries, remove rgw_store.prefix
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Wed, 25 May 2011 18:01:16 +0000 (11:01 -0700)]
rados python bindings: handle xattrs with NULL
Handle extended attributes that contain NULL bytes correctly, rather
than treating everything as zero-terminated C strings.
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Samuel Just [Wed, 25 May 2011 17:54:27 +0000 (10:54 -0700)]
PG: fix race in _activate_committed
Previously, _activate_committed would access the osdmap epoch racing
with handle_osd_map's osdmap update. This would allow a message to be
sent from a replica to the primary tagged with the same epoch as
last_warm_restart, though the event actually occured before
last_warm_restart. Thus the primary would fail to ignore the event and
transition to crashed.
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
Colin Patrick McCabe [Wed, 25 May 2011 17:50:15 +0000 (10:50 -0700)]
RgwStore: fix some ACL issues
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Tue, 24 May 2011 22:39:58 +0000 (15:39 -0700)]
test-obysnc.py: support librgw testing
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Tue, 24 May 2011 21:15:53 +0000 (14:15 -0700)]
Rename RadosStore to RgwStore
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Thu, 19 May 2011 23:33:13 +0000 (16:33 -0700)]
test-obsync: refactor a little bit
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Wed, 18 May 2011 23:39:18 +0000 (16:39 -0700)]
Proper ACL support for rados targets
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Sage Weil [Wed, 18 May 2011 04:29:33 +0000 (21:29 -0700)]
mds: do not shift to EXCL or MIX while rdlocked
There was an old change in file_eval() that was allowing us to switch from
SYNC to MIX or EXCL while there were rdlocks, which either caused lots of
lock thrashing or could (I think) hang things up completely. This was
from
ea10a672 , an ancient fix for something related that appears to have
taken out the rdlocked check by accident.
In my tests (one writer, one stat-er), this took things from long stalls
(up to 20 seconds) to very responsive stats. Yay!
Fixes: #791
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>