diff options
author | Eric Wong <normalperson@yhbt.net> | 2011-11-06 04:38:21 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2011-11-06 04:38:21 +0000 |
commit | c66266416da2e05889ed93997f2c8a7cba216c56 (patch) | |
tree | 070e179033e974f8c00b036fd57655a72e48b22c | |
parent | 5f5e9071e51134b2028c1b2f99655be66debc2a4 (diff) | |
download | mogilefs-client-c66266416da2e05889ed93997f2c8a7cba216c56.tar.gz |
-rw-r--r-- | lib/mogilefs/bigfile.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/mogilefs/bigfile.rb b/lib/mogilefs/bigfile.rb index bfedbde..b681a08 100644 --- a/lib/mogilefs/bigfile.rb +++ b/lib/mogilefs/bigfile.rb @@ -38,6 +38,7 @@ module MogileFS::Bigfile rescue # part[:paths] may not be valid anymore due to rebalancing, however we # can get_keys on key,<part_nr> and retry paths if all paths fail + part_key = "#{key.sub(/^_big_info:/, '')},#{part_nr}" paths = get_paths(part_key) paths.empty? and raise MogileFS::Backend::NoDevices, |