Yehuda Sadeh
f23530fec1
auth: fix connect response
2009-10-15 16:24:03 -07:00
Yehuda Sadeh
b400d549b3
Merge branch 'unstable' of ssh://ceph.newdream.net/git/ceph into unstable
2009-10-15 14:16:58 -07:00
Yehuda Sadeh
bdc218e352
wireshark: update with latest version, some other fixes
2009-10-15 14:16:27 -07:00
Sage Weil
15fc0c30f8
mon: make 'mon add ...' work
2009-10-15 12:10:31 -07:00
Sage Weil
3ce86d04ed
mon: clean up 'mon ...' command processing, add 'mon getmap'
2009-10-13 22:34:53 -07:00
Sage Weil
46d0f9a151
mon: set initial timeout on sessions; clean up a bit
2009-10-13 22:05:57 -07:00
Sage Weil
6b6a674b20
mon: fix warning
2009-10-13 14:46:05 -07:00
Sage Weil
a0693184c1
mon: PaxosServices needs virtual destructor
2009-10-13 14:45:39 -07:00
Sage Weil
064d00c5c5
mon: small cleanup
2009-10-13 14:17:09 -07:00
Sage Weil
e7315e45e6
debian: bail out on error during package build
2009-10-13 14:17:09 -07:00
Sage Weil
235ef86f7b
Makefile: include client/ioctl.h in tarball
2009-10-13 14:17:09 -07:00
Sage Weil
d7f9d19d11
msgr: kill dead code
2009-10-13 14:17:09 -07:00
Sage Weil
a0fa5b0f9a
uclient: pipe down about connects
2009-10-13 14:14:58 -07:00
Sage Weil
39d12a9e10
msgr: add version field to msg header
2009-10-13 12:54:22 -07:00
Sage Weil
b3d09e0f7d
osd: use ms_handle_connect to resend mon messages
...
This is worlds better than resending every few seconds.
2009-10-13 12:08:51 -07:00
Sage Weil
bd81038006
monclient: ignore resets on non-current mon
2009-10-13 11:54:57 -07:00
Sage Weil
df0c52a1d7
mon: use connection hook to resend mon requests
2009-10-13 11:54:40 -07:00
Sage Weil
7e5d162edd
msgr: add ms_handle_connect callback
...
Called when an outgoing connection succeeds.
2009-10-13 11:51:32 -07:00
Sage Weil
d8f771e981
msgr: drop extra arg
2009-10-13 11:37:28 -07:00
Sage Weil
7cc97f32ab
msgr: change ms_handle_[peer_]reset prototype
...
And some small fixups in handlers along the way
2009-10-13 11:21:31 -07:00
Sage Weil
a90e63ca3b
msgr: put peer type, addr in Connection
2009-10-13 10:40:02 -07:00
Sage Weil
83a25c76fb
todo
2009-10-13 10:27:06 -07:00
Sage Weil
5d33a74fba
msgr: simple exponential backoff, with tunable initial and max delay
2009-10-13 10:27:06 -07:00
Sage Weil
329f5c6490
msgr: simplify policy
...
We may be a server, and we may be lossy. This gives us a few policies:
!server, !lossy = lossless_peer(), for bidirectional intracluster fun.
server, !lossy = lossless_server(), e.g. mds <-> client.
server, lossy = lossy_server(), e.g. mon and osd
also, the default is
!server, !lossy = client(), but that doesn't mean much. The server
decides if the connection is lossy or not. And !server just means we can
initiate the outgoing connection.
2009-10-13 10:27:06 -07:00
Sage Weil
78dcc39f41
msgr: kill unused ms_handle_failure
2009-10-13 10:27:05 -07:00
Greg Farnum
7d1e3b9f0f
mon: MonmapMonitor now sends responses to commands and doesn't double-add
...
monitor addresses.
2009-10-12 15:00:11 -07:00
Sage Weil
508e047ccf
mon: use send_reply for pool ops; fix msg leak
2009-10-12 12:06:36 -07:00
Sage Weil
e71255b4b6
mon: share new osd maps with 'random' osds
...
Ok, it's not exactly a uniform distribution, but good enough for now.
2009-10-12 12:03:02 -07:00
Sage Weil
4c1cc01d05
mon: send osd map if MPGStats sender has an old map
2009-10-12 11:38:56 -07:00
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