1430
return err
1431
1433
>
// We have no idea if the write failed or will eventually make it to persistence. Try to re-acquire
1434
>
// the shard in the background. If successful, we'll get a new RangeID, to guarantee that subsequent
1435
>
// reads will either see that write, or know for certain that it failed. This allows the callers to
1436
>
// reliably check the outcome by performing a read. If we fail, we'll shut down the shard.
1437
>
// Note that reacquiring the shard will cause the max read level to be updated
1438
>
// to the new range (i.e. past newMaxReadLevel).
1439
>
_ = s.transition(contextRequestLost{})
1440
>
return err
1441
}
1442
}