Commit de844b01 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 7649e798
......@@ -544,6 +544,10 @@ func (δFtail *ΔFtail) LastBlkRev(ctx context.Context, zf *ZBigFile, blk int64,
err := zf.PActivate(ctx)
if err != nil {
// file deleted
if xzodb.IsErrNoData(err) {
return δFtail.Tail(), false // FIXME tail -> epoch(at)
}
panic(err) // XXX
}
defer zf.PDeactivate()
......
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