diff options
author | Michael Adam <obnox@samba.org> | 2013-05-17 11:00:32 +0200 |
---|---|---|
committer | Amitay Isaacs <amitay@gmail.com> | 2013-05-24 22:06:16 +1000 |
commit | a0b20771fef9863fa788c59e9737ff3e08cc5980 (patch) | |
tree | 806e6ec0ea76ae0431d9e78c5e040d545a81a9e6 /ctdb/server/ctdb_call.c | |
parent | c5bb401835cf752cecc0e6013f62e3ba2699bf3e (diff) | |
download | samba-a0b20771fef9863fa788c59e9737ff3e08cc5980.tar.gz samba-a0b20771fef9863fa788c59e9737ff3e08cc5980.tar.xz samba-a0b20771fef9863fa788c59e9737ff3e08cc5980.zip |
ctdbd: update comment describing ctdb_call_send_redirect()
Signed-off-by: Michael Adam <obnox@samba.org>
(This used to be ctdb commit 9a21d417c51fb9cad8f2e87e00ca54d379aef860)
Diffstat (limited to 'ctdb/server/ctdb_call.c')
-rw-r--r-- | ctdb/server/ctdb_call.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/ctdb/server/ctdb_call.c b/ctdb/server/ctdb_call.c index dbbebec8c8f..4696d27e022 100644 --- a/ctdb/server/ctdb_call.c +++ b/ctdb/server/ctdb_call.c @@ -113,20 +113,9 @@ static void ctdb_send_error(struct ctdb_context *ctdb, * to its local ctdb (ctdb_request_call). If the node is not itself * the record's DMASTER, it first redirects the packet to the * record's LMASTER. The LMASTER then redirects the call packet to - * the current DMASTER. But there is a race: The record may have - * been migrated off the DMASTER while the redirected packet is - * on the wire (or in the local queue). So in case the record has - * migrated off the new destinaton of the call packet, instead of - * going back to the LMASTER to get the new DMASTER, we try to - * reduce round-trips by first chasing the record a couple of times - * before giving up the direct chase and finally going back to the - * LMASTER (again). Note that this works because of this: When + * the current DMASTER. Note that this works because of this: When * a record is migrated off a node, then the new DMASTER is stored * in the record's copy on the former DMASTER. - * - * The maximum number of attempts for direct chase to make before - * going back to the LMASTER is configurable by the tunable - * "MaxRedirectCount". */ static void ctdb_call_send_redirect(struct ctdb_context *ctdb, struct ctdb_db_context *ctdb_db, |