swift/swift
John Dickinson c26d67efcf fixed _check_node() in the container sharder
Previously, _check_node() wouldn't catch the raise ValueError when
a drive was unmounted. Therefore the error would bubble up, uncaught,
and stop the shard cycle. The practical effect is that an unmounted
drive on a node would prevent sharding for happening.

This patch updates _check_node() to properly use the check_drive()
method. Furthermore, the _check_node() return value has been modified
to be more similar to what check_drive() actually returns. This
should help prevent similar errors from being introduced in the future.

Closes-Bug: #1806500

Change-Id: I3da9b5b120a5980e77ef5c4dc8fa1697e462ce0d
2018-12-04 16:16:04 -08:00
..
account py3: everything account except the real things 2018-10-17 23:28:47 -05:00
cli swift-ring-builder shows hint about composite builder file 2018-07-05 15:57:05 +01:00
common Merge "Py3: Use dict.items instead of dict.iteritems" 2018-12-02 05:44:55 +00:00
container fixed _check_node() in the container sharder 2018-12-04 16:16:04 -08:00
locale Imported Translations from Zanata 2018-08-25 06:24:35 +00:00
obj py3: port encryption 2018-11-20 01:30:04 -06:00
proxy py3: port encryption 2018-11-20 01:30:04 -06:00
__init__.py py3: Monkey-patch json.loads to accept bytes on py35 2018-11-02 21:38:53 +00:00