Sage Weil
33cbbd9a72
mon: clean out old crufty cluster shutdown code
...
The OSD directed shutdown should be adjusted anyway.
2009-10-12 11:38:56 -07:00
Sage Weil
c9e053aa06
mon: send MOSDPGCreate from all mons, not just leader
...
This ensures they go out to whichever mon the osd is connected to. Sort
of brute force. :/
2009-10-12 11:38:56 -07:00
Sage Weil
dda342696d
mon: oops, make PaxosServiceMessage match ceph_mon_request_header
2009-10-12 11:38:56 -07:00
Sage Weil
8c6896f61d
mon: kill some dead code
2009-10-12 11:38:56 -07:00
Sage Weil
53efdb9455
mon: use send_reply for MPoolOpReply
2009-10-12 11:38:56 -07:00
Greg Farnum
afa15782c4
LogClient: Add a mon data member and mon selection code.
...
Replaces removed MonMap::pick_mon
2009-10-12 11:29:33 -07:00
Greg Farnum
d3ebec388e
MonMap: Remove pick_mon() and last_mon data member -- doesn't belong here
2009-10-12 11:29:05 -07:00
Greg Farnum
008031abd4
monmap: add a utime_t created data member
2009-10-12 11:27:33 -07:00
Greg Farnum
3ebd64584d
uclient: Accept -1 in set_default_preferred_pg to go back to non-local writes
2009-10-12 10:40:29 -07:00
Greg Farnum
e2e8047a09
mon/msg: Remove MMonAdd; switch MonmapMonitor to use MMonCommand
2009-10-12 10:34:50 -07:00
Greg Farnum
6ddbe14477
mon: Replace old question comment with explanation comment
2009-10-12 09:15:45 -07:00
Greg Farnum
58111a6467
mon: Remember to delete the Message when done
2009-10-12 09:14:19 -07:00
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