diff options
author | Eric Wong <normalperson@yhbt.net> | 2011-11-12 11:57:17 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2011-11-12 11:57:17 +0000 |
commit | 435d43d6b85481e7b678c3092dec7fcb246e30e8 (patch) | |
tree | 648988f8dff2fb2abe285d17a3461d01cca5cd4c /lib/mogilefs | |
parent | d48dcc1d1e4679cf7dbd428fa4d2e7932f9839d3 (diff) | |
download | mogilefs-client-435d43d6b85481e7b678c3092dec7fcb246e30e8.tar.gz |
It's tricky, but possible to get right (at least for list_keys)
Diffstat (limited to 'lib/mogilefs')
-rw-r--r-- | lib/mogilefs/backend.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/mogilefs/backend.rb b/lib/mogilefs/backend.rb index 93bcfe6..596e320 100644 --- a/lib/mogilefs/backend.rb +++ b/lib/mogilefs/backend.rb @@ -209,7 +209,10 @@ class MogileFS::Backend end # dispatch a request like do_request, but queue +block+ for execution - # upon receiving a response. + # upon receiving a response. It is the users' responsibility to ensure + # &block is executed in the correct order. Trackers with multiple + # queryworkers are not guaranteed to return responses in the same + # order they were requested. def pipeline_dispatch(cmd, args, &block) # :nodoc: request = make_request(cmd, args) timeout = @timeout |