summaryrefslogtreecommitdiffstats
path: root/ctdb/include/ctdb_protocol.h
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronniesahlberg@gmail.com>2012-03-20 16:58:35 +1100
committerRonnie Sahlberg <ronniesahlberg@gmail.com>2012-03-20 17:12:19 +1100
commitfa3a06246ac45b1406ca7b9067376050cd80e3e2 (patch)
treec88b6a3ababf85116ff184ec1b2b52fafce500d5 /ctdb/include/ctdb_protocol.h
parent462cdbc5c4e7d1c0dcbeec7a4767783d3f45db2d (diff)
downloadsamba-fa3a06246ac45b1406ca7b9067376050cd80e3e2.tar.gz
samba-fa3a06246ac45b1406ca7b9067376050cd80e3e2.tar.xz
samba-fa3a06246ac45b1406ca7b9067376050cd80e3e2.zip
STICKY: add prototype code to make records stick to a node to "calm" down if they are found to be very hot and accessed by a lot of clients.
This can improve performance and stop clients from having to chase a rapidly migrating/bouncing record (This used to be ctdb commit d0d98f7e45e5084b81335b004d50bddc80cdc219)
Diffstat (limited to 'ctdb/include/ctdb_protocol.h')
-rw-r--r--ctdb/include/ctdb_protocol.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ctdb/include/ctdb_protocol.h b/ctdb/include/ctdb_protocol.h
index 8b113c3a0e..a153f017fc 100644
--- a/ctdb/include/ctdb_protocol.h
+++ b/ctdb/include/ctdb_protocol.h
@@ -383,6 +383,7 @@ enum ctdb_controls {CTDB_CONTROL_PROCESS_EXISTS = 0,
CTDB_CONTROL_CHECK_SRVIDS = 130,
CTDB_CONTROL_TRAVERSE_START_EXT = 131,
CTDB_CONTROL_GET_DB_STATISTICS = 132,
+ CTDB_CONTROL_SET_DB_STICKY = 133,
};
/*