Record Fetch Collapse: Collapse multiple fetch request into one single request.
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Mon, 7 Nov 2011 19:55:46 +0000 (06:55 +1100)
committerAmitay Isaacs <amitay@gmail.com>
Fri, 11 Jan 2013 06:37:16 +0000 (17:37 +1100)
commitb0fbd82cae11fca243cf454cb46d9bb62fdabaf0
tree64f552b8975cfbe79b552043bc81df2b3bae1c3b
parent9fbd13ea7d3da5e297827e7763f336f484262f47
Record Fetch Collapse: Collapse multiple fetch request into one single request.

When multiple clients fetch the same record concurrently, send only one single
fetch across the network and deferr all other fetches locally.
This improves performance for hot records and reduces cpu load on ctdb.

Conflicts:
server/ctdb_ltdb_server.c

Cherry-pick-from: 82d6946ad8b3348e8b9d3d971f24925ade02d1be
include/ctdb_private.h
server/ctdb_daemon.c
server/ctdb_ltdb_server.c