Commit 74919953 authored by Leigh Stoller's avatar Leigh Stoller

Fix sharing_mode() test; forgot that varchars are never actually NULL.

parent 7d3f6373
......@@ -261,7 +261,8 @@ if (! $moveToOldReserved) {
next
if ($node->isvirtnode() || $node->isremotenode());
if (defined($node->sharing_mode()) && $node->HasVirtualNodes()) {
if (defined($node->sharing_mode()) && $node->sharing_mode() ne "" &&
$node->HasVirtualNodes()) {
print STDERR "$node is shared but has virtual nodes on it.\n";
$error++;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment