From d1dd29197e62e16f97d041d890a7ccfe65e60cd7 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Fri, 17 May 2013 11:05:44 +0200 Subject: ctdbd: fix comment explaining redirection of CTDB_REQ_CALL redirection. Signed-off-by: Michael Adam (This used to be ctdb commit b697625b184227dad1be31a41b7a3fd9bd312e29) --- ctdb/server/ctdb_call.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ctdb/server/ctdb_call.c b/ctdb/server/ctdb_call.c index feb3e61ee7..a98903dfe8 100644 --- a/ctdb/server/ctdb_call.c +++ b/ctdb/server/ctdb_call.c @@ -801,8 +801,11 @@ void ctdb_request_call(struct ctdb_context *ctdb, struct ctdb_req_header *hdr) return; } - /* if we are not the dmaster and are not hosting any delegations, - then send a redirect to the requesting node */ + /* + * If we are not the dmaster and are not hosting any delegations, + * then we redirect the request to the node than can answer it + * (the lmaster or the dmaster). + */ if ((header.dmaster != ctdb->pnn) && (!(header.flags & CTDB_REC_RO_HAVE_DELEGATIONS)) ) { talloc_free(data.dptr); -- cgit