list_keys_verbose: preserve ordering with multiple queryworkers
commitd48dcc1d1e4679cf7dbd428fa4d2e7932f9839d3
authorEric Wong <normalperson@yhbt.net>
Sat, 12 Nov 2011 09:22:56 +0000 (12 09:22 +0000)
committerEric Wong <normalperson@yhbt.net>
Sat, 12 Nov 2011 09:27:41 +0000 (12 09:27 +0000)
tree6a566dadd9af948bf1f798fb4fcf139cd2e0d3b4
parentec7e00ad0a277c3b760d0f88482108bd0624224e
list_keys_verbose: preserve ordering with multiple queryworkers

When multiple queryworkers are used in the tracker, it's
possible to receive responses out-of-order.  We need to
hold onto responses while the pipeline is being processed
and only make callbacks when they can be made in the
order the keys were given to us in.
lib/mogilefs/mogilefs.rb