Revert "LACOUNT: Add back lacount mechanism to defer migrating a fetched/read copy...
authorAmitay Isaacs <amitay@gmail.com>
Mon, 19 Aug 2013 05:04:46 +0000 (15:04 +1000)
committerAmitay Isaacs <amitay@gmail.com>
Thu, 22 Aug 2013 04:08:52 +0000 (14:08 +1000)
commitac417b0003f0116f116834ad2ac51482d25cfa0d
tree18259fc7ef18651d3b1e6c937b3c6c637e6bb000
parent48f40985f4592c28402303ccbb458756f4914f75
Revert "LACOUNT:  Add back lacount mechanism to defer migrating a fetched/read copy until after default of 20 consecutive requests from the same node"

This reverts commit 035c0d981bde8c0eee8b3f24ba8e2dc817e5b504.

This is a premature optimization.  Record can bounce between nodes
very quickly if it is a contended record.  There is no need to hold a
record on a node unnecessarily.  In case record contention becomes bad,
enabling sticky records on a database is a better idea.

Conflicts:
include/ctdb_private.h
server/ctdb_tunables.c

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
client/ctdb_client.c
common/ctdb_ltdb.c
include/ctdb_private.h
include/ctdb_protocol.h
server/ctdb_call.c
server/ctdb_tunables.c