Lucy::Store::LockErr(3) Lock exception.

SYNOPSIS


while (1) {
my $bg_merger = eval {
Lucy::Index::BackgroundMerger->new( index => $index );
};
if ( blessed([email protected]) and [email protected]>isa("Lucy::Store::LockErr") ) {
warn "Retrying...\n";
}
elsif (!$bg_merger) {
# Re-throw.
die "Failed to open BackgroundMerger: [email protected]";
}
...
}

DESCRIPTION

LockErr is a subclass of Err which indicates that a file locking problem occurred.

INHERITANCE

Lucy::Store::LockErr isa Lucy::Object::Err isa Lucy::Object::Obj.