Commit Graph

8294 Commits

Author SHA1 Message Date
Sage Weil
aa3ab0b5da ceph: follow monmap changes in -w mode 2009-10-10 21:34:47 -07:00
Sage Weil
0d9bd68f65 monmaptool: use generic MonMap::print methods 2009-10-10 21:34:40 -07:00
Sage Weil
97b76ff0a0 mon: store latest monmap is paxos-compatible format
Previously it was monmap/latest, but wasn't prefixed/wrapped with the
version_t.
2009-10-10 21:26:53 -07:00
Sage Weil
72f68c9105 mon: don't trim cluster sessions
This isn't a perfect test.. we'll need to revisit later.
2009-10-10 21:26:05 -07:00
Sage Weil
b67b1d92ed mon: route osdmaps sent by mon properly 2009-10-09 22:27:38 -07:00
Sage Weil
d1c51b2642 mon: kill unused MOSDGetMap
Yay
2009-10-09 21:55:44 -07:00
Sage Weil
78759f93da osd: stop using MOSDGetMap
We should use the monclient and subscriptions instead.
2009-10-09 21:50:51 -07:00
Sage Weil
89d4d12cc7 mon: kill MMDSGetMap, clean up MDSMonitor map sending code
We don't need most of this crap anymore.. subscriptions solve all of these
problems!  The getmap message isn't even used anymore.
2009-10-09 21:47:22 -07:00
Sage Weil
aa72a52557 mon: kill more dead code 2009-10-09 21:27:47 -07:00
Sage Weil
ca633c642c monc: clean up mon pick code slightly 2009-10-09 21:27:34 -07:00
Sage Weil
0c8bc1e1a1 Merge branch 'unstable' of ssh://ceph.newdream.net/home/sage/ceph.newdream.net/git/ceph into unstable 2009-10-09 21:24:08 -07:00
Sage Weil
e6f8229307 mon: kill dead faking, bcast code 2009-10-09 16:48:11 -07:00
Greg Farnum
6d66b439c6 all: change disk format numbers 2009-10-09 16:44:51 -07:00
Greg Farnum
3f95cef9fa mon: Remove invalid assert; fix mon_type constants. 2009-10-09 16:44:51 -07:00
Greg Farnum
ed70b5ae1f mdsmap: add a last_changed utime_t data member. 2009-10-09 16:44:51 -07:00
Greg Farnum
535072b493 mon: Add MonmapMonitor to whole system 2009-10-09 16:44:51 -07:00
Greg Farnum
4651dc1057 mon: Add MonmapMonitor source. 2009-10-09 16:44:51 -07:00
Greg Farnum
e8dd447a64 PaxosService: Add some function documentation. 2009-10-09 16:44:50 -07:00
Greg Farnum
1053856b97 message: Add a new MMonAdd message type 2009-10-09 16:44:50 -07:00
Greg Farnum
b3dfe6eedb Hadoop: Set preferred_pg after client mounts 2009-10-09 16:44:50 -07:00
Greg Farnum
7e08ea8fde uclient: Debugging output 2009-10-09 16:44:50 -07:00
Sage Weil
02af096951 mon: use reply_request in pgmon pg stats update 2009-10-09 16:43:49 -07:00
Sage Weil
56f0814871 push_to_kclient: no -u to cp, the timestamps may be ordered 2009-10-09 16:43:13 -07:00
Sage Weil
abd6254199 mon: new, improved monitor request/reply routing
We track which monitor requests are forwarded to the leader in the mon
Session, and clean them out when we send a reply back via MRoute.

Only forward once, and resend pending requests on election completion.
This may lead to harmless dups, but at least we know our request didn't
get dropped on the floor by another mon failing somewhere.

This changes the monitor protocol by expanding the PaxosServiceMessage
header.
2009-10-09 16:33:15 -07:00
Sage Weil
c3916c78cc mon: create session for all incoming monitor messages
This code stolen from auth branch; hopefully git merge will be smart
enough.
2009-10-09 16:30:17 -07:00
Sage Weil
cd8eb72b65 todo 2009-10-09 15:15:34 -07:00
Sage Weil
31ab2334b9 byteorder: more typos 2009-10-09 15:15:34 -07:00
Sage Weil
1d95c8f097 qa: start new qa dir, add some client tests 2009-10-09 12:19:35 -07:00
Sage Weil
419e1b71ee byteorder: braces! 2009-10-09 10:55:32 -07:00
Sage Weil
a5a7c559fb osd: check is_dup earlier; do not set osdop version if it's a noop
Otherwise, we end up with a bogus version that's not logged and in the
future, which confuses us later (we think it's a replay or something).  If
it's a noop, that means the version is either already set, or doesn't need
to be.
2009-10-09 10:53:37 -07:00
Sage Weil
4eebe5473f osd: use sized int32 in osdmap incremental new_pg_temp
Oops!
2009-10-08 22:20:49 -07:00
Sage Weil
4f4a231fe0 msgr: reset session state on lossy_tx fault 2009-10-08 21:20:22 -07:00
Sage Weil
a04ec621b3 byteorder: include endian.h for good measure 2009-10-08 15:18:05 -07:00
Sage Weil
5bb047c095 Revert "byteorder: properly detect endianness"
Or not!

This reverts commit a33441c4b2.
2009-10-08 14:58:03 -07:00
Sage Weil
a33441c4b2 byteorder: properly detect endianness 2009-10-08 14:21:08 -07:00
Sage Weil
5a0c6fae35 osd: fix up handling of dup PG::Info
Ignore dup info.  Simplify broken logic.
2009-10-08 14:20:52 -07:00
Sage Weil
208dc558a9 mon: fix session close races
Make sure we don't use a connection's session if it is closed.

Remove session from connection on reset.
2009-10-08 11:45:27 -07:00
Sage Weil
fa4e2a0442 objecter: don't send duplicate onetime sub requests 2009-10-08 11:44:17 -07:00
Sage Weil
ddb359e83f osd: don't manually set rank addr
This didn't accomplish anything useful.
2009-10-08 11:43:43 -07:00
Sage Weil
94f99053ca msgr: include port when printing sockaddrs! 2009-10-08 11:41:32 -07:00
Sage Weil
008216bd99 libceph: move to main dir with other main .cc files 2009-10-08 10:42:11 -07:00
Sage Weil
de211f3bba monc: no msgr bind needed 2009-10-08 10:42:11 -07:00
Sage Weil
0a34d60f57 libceph: no bind 2009-10-08 10:34:20 -07:00
Sage Weil
416cd968b9 osd: use fast_fail() policy to connect to osd 2009-10-08 10:34:09 -07:00
Sage Weil
71d5bcfd96 msgr: do not require bind() on client apps 2009-10-08 10:02:22 -07:00
Sage Weil
aeacbe7941 msgr: clean out dead connect-side bind code 2009-10-08 09:54:17 -07:00
Sage Weil
0059482be6 mds: validate file layouts on file creation, setlayout 2009-10-08 09:21:39 -07:00
Sage Weil
181788886b ceph: add ceph_file_layout_is_valid function, minimum stripe unit 2009-10-08 09:21:21 -07:00
Sage Weil
081cf365fd filestore: be less excited about btrfs version 2009-10-07 16:45:02 -07:00
Sage Weil
e53fbdf9a1 mon: take lock in ms_handle_reset before adjusting session map 2009-10-07 16:44:38 -07:00