e330b7: mon: create fail_mds_gid() helper; make 'ceph mds ...
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 79 lines · GitHub
Branch: refs/heads/master
Home: https://github.com/ceph/ceph
Commit:e330b7ec54f89ca799ada376d5615e3c1dfc54f0https://github.com/ceph/ceph/commit/e330b7ec54f89ca799ada376d5615e3c1dfc54f0Author: Sage Weil <[email protected]>
Date: 2013-01-17 (Thu, 17 Jan 2013)Changed paths:
M src/mon/MDSMonitor.cc
Msrc/mon/MDSMonitor.hLog Message:
-----------
mon: createfail_mds_gid()helper; make 'ceph mds rm ...' more genericTake a gid or a rank or a name. Use a nicer helper.
Signed-off-by Sage Weil <[email protected]>Commit:
2e112333397750a1b683c41f58c3fae05321fc49https://github.com/ceph/ceph/commit/2e112333397750a1b683c41f58c3fae05321fc49Author: Sage Weil <[email protected]>
Date: 2013-01-17 (Thu, 17 Jan 2013)Changed paths:
Msrc/common/config_opts.h
Msrc/mds/MDSMap.h
M src/mon/MDSMonitor.ccLog Message:
-----------
mon: enforce unique name in mdsmapAdd 'mds enforce unique name' option, defaulting to true.
If set, when an MDS boots, it will kick any previous mds with the same name from the mdsmap. This is possibly less confusing for users. If an mds daemon restarts, it will immediately replace its previous instantiation.
Two misconfigured daemons running with the same name will fight over the same role.
Fixes #3857Signed-off-by Sage Weil <[email protected]>Commit:
dd7caf5f411696f8e7dc108270a8e85a34f3e80chttps://github.com/ceph/ceph/commit/dd7caf5f411696f8e7dc108270a8e85a34f3e80cAuthor: Sage Weil <[email protected]>
Date: 2013-01-17 (Thu, 17 Jan 2013)Changed paths:
M src/mds/MDS.ccLog Message:
-----------
mds: gracefully exit if newer gid replaces us by nameIf 'mds enforce unique name' is set, and another MDS with the same name kicks us out of the MDSMap, gracefully exit instead of respawning and fighting over our position.
Signed-off-by Sage Weil <[email protected]>Commit:
6f28faf9e6613bff403bcd958818d8dccd004f9dhttps://github.com/ceph/ceph/commit/6f28faf9e6613bff403bcd958818d8dccd004f9dAuthor: Sage Weil <[email protected]>
Date: 2013-01-17 (Thu, 17 Jan 2013)Changed paths:
M src/mds/MDCache.ccLog Message:
-----------
mds: open mydir after replay
Quoted 5 lines
In certain cases, we may replay the journal and not end up with the dirfrag for mydir open. This is fine--we just need to open it up and fetch it below.
Signed-off-by Sage Weil <[email protected]>
In the tests I ran last night on this branch I saw some Valgrind warnings in the OSDs and Monitors, but I couldn't figure out any way for this series to have caused them so I assume they're latent and pop up occasionally in master? In any case, please keep an eye out in case I was wrong. :)
-Greg
Quoted 5 lines · Gregory Farnum
In the tests I ran last night on this branch I saw some Valgrind warnings in the OSDs and Monitors, but I couldn't figure out any way for this series to have caused them so I assume they're latent and pop up occasionally in master? In any case, please keep an eye out in case I was wrong. :)
That is probably a sneaky MMonPaxos leak in the mon. And the OSD isn't yet valgrind leak check clean.
sage