- always make _inst match _to and _from (don't adjust in note_down_osd)
- only mark down old hb connection in update_heartbeat_peers
- if old peer isn't down, send them a map
- don't print dup new/old messages
Signed-off-by: Sage Weil <sage@newdream.net>
We can safely reply if oldv is _older_ than what's on disk. Otherwise the
request ends up on the list and never gets removed again.
Signed-off-by: Sage Weil <sage@newdream.net>
[ The following text is in the "UTF-8" character set. ]
[ Your display is set for the "iso-8859-1" character set. ]
[ Some characters may be displayed incorrectly. ]
Hi,
I just realized librados.hpp could compile only if "using namespace
std;" is declared before "#include <rados/librados.hpp>", because
"vector" used without std namespace, and I think it's wrong.
It can fix following patch.
syuu
Signed-off-by: Sage Weil <sage@newdream.net>
We were avoiding adding a new cap, but _any_ issue is problematic, not just
adds (which we can't really be sure about anyway due to races with client
cap release).
Signed-off-by: Sage Weil <sage@newdream.net>
The only thing I've found, is that the *.so files are included in the -devel
rpm. This leads to the fact that the 'find' in cclass doesn't return any
files. I'd suggest the attached change in the script.
Christian
Signed-off-by: Sage Weil <sage@newdream.net>
We don't want to take the time to flush things to disk and shut down all
the worker threads if there is nothing new in the osdmap update (as is
usually the case).
Signed-off-by: Sage Weil <sage@newdream.net>
the reload command prints to stdout. example:
# service ceph reload
=== mon.0 ===
Reloading Ceph mon0 on hoe001...kill -1 22197...done
=== osd.0 ===
Reloading Ceph osd0 on hoe001...kill -1 22263...done
"properly" configured systems will send the output by mail to
the administrator - this is not desired in case of successfull
reloading.
Signed-off-by: Thomas Mueller <thomas@chaschperli.ch>
Signed-off-by: Sage Weil <sage@newdream.net>
[ The following text is in the "UTF-8" character set. ]
[ Your display is set for the "iso-8859-1" character set. ]
[ Some characters may be displayed incorrectly. ]
invoke-rc.d is debian specific.
run "service ceph reload" if invoke-rc.d fails.
Signed-off-by: Sage Weil <sage@newdream.net>
on a standalone fuse client ceph serverside is not needed. if it's
"Recommended" the default behaviour is to install it too. Move it to "Suggests"
that it's not installed by default if one installs just ceph-fuse.
from debian policy:
Suggests:
This is used to declare that one package may be more useful with one or more
others. Using this field tells the packaging system and the user that the listed
packages are related to this one and can perhaps enhance its usefulness, but
that installing this one without them is perfectly reasonable.
- Thomas
Signed-off-by: Sage Weil <sage@newdream.net>
The assert should be olog.backlog, not log.backlog. But it's the same
condition as the if guard that's 3 lines up, making it pretty useless.
Just drop it.