Greg Farnum
0f4d70d35d
uclient: Return an error if you open a non-dir via opendir
2009-10-16 12:21:24 -07:00
Sage Weil
3f182b8a03
monclient: start with hunting=true
...
(and reset after get_monmap_privately)
2009-10-16 11:24:20 -07:00
Sage Weil
78e3bdd71d
osd: send boot message if we get marked down
...
This broke when we redid its monclient stuff
2009-10-16 11:17:16 -07:00
Sage Weil
794e2a3e1c
Makefile: 'core' rule to do just the core daemons, tools
2009-10-16 11:16:55 -07:00
Sage Weil
16ef6475fd
sample: rename sample ceph.conf
2009-10-16 10:46:34 -07:00
Sage Weil
7da385d677
mon: show election quorum info on 'mon stat'
2009-10-16 10:46:34 -07:00
Sage Weil
2219956d5a
mon: defined struct for MMonSubscribeAck
2009-10-15 21:24:43 -07:00
Sage Weil
cd2b37bba1
todo
2009-10-15 21:24:43 -07:00
Sage Weil
600e550d78
mds: fix stupid float conversion warnings
...
From ppc.
2009-10-15 21:24:43 -07:00
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