pruner + proto change: better handling of missing replication cursor

- don't treat missing replication cursor as an error in protocol
- treat it as a per-fs planning error instead
This commit is contained in:
Christian Schwarz 2018-11-16 12:03:38 +01:00
parent 5e1ea21f85
commit 3472145df6
5 changed files with 80 additions and 75 deletions

View File

@ -274,6 +274,9 @@ func (p *Pruner) Error() error {
type fs struct { type fs struct {
path string path string
// permanent error during planning
planErr error
// snapshots presented by target // snapshots presented by target
// (type snapshot) // (type snapshot)
snaps []pruning.Snapshot snaps []pruning.Snapshot
@ -296,7 +299,9 @@ func (f *fs) Report() FSReport {
r := FSReport{} r := FSReport{}
r.Filesystem = f.path r.Filesystem = f.path
r.ErrorCount = f.execErrCount r.ErrorCount = f.execErrCount
if f.execErrLast != nil { if f.planErr != nil {
r.LastError = f.planErr.Error()
} else if f.execErrLast != nil {
r.LastError = f.execErrLast.Error() r.LastError = f.execErrLast.Error()
} }
@ -413,11 +418,13 @@ func statePlan(a *args, u updater) state {
l.WithError(err).Error("cannot get replication cursor") l.WithError(err).Error("cannot get replication cursor")
return onErr(u, err) return onErr(u, err)
} }
if rc.GetError() != "" {
l.WithField("reqErr", rc.GetError()).Error("cannot get replication cursor")
return onErr(u, err)
}
ka.MadeProgress() ka.MadeProgress()
if rc.GetNotexist() {
l.Error("replication cursor does not exist, skipping")
pfs.destroyList = []pruning.Snapshot{}
pfs.planErr = fmt.Errorf("replication cursor bookmark does not exist (one successful replication is required before pruning works)")
continue
}
// scan from older to newer, all snapshots older than cursor are interpreted as replicated // scan from older to newer, all snapshots older than cursor are interpreted as replicated

View File

@ -118,7 +118,7 @@ func (p *Sender) ReplicationCursor(ctx context.Context, req *pdu.ReplicationCurs
return nil, err return nil, err
} }
if cursor == nil { if cursor == nil {
return &pdu.ReplicationCursorRes{Result: &pdu.ReplicationCursorRes_Error{Error: "cursor does not exist"}}, nil return &pdu.ReplicationCursorRes{Result: &pdu.ReplicationCursorRes_Notexist{Notexist: true}}, nil
} }
return &pdu.ReplicationCursorRes{Result: &pdu.ReplicationCursorRes_Guid{Guid: cursor.Guid}}, nil return &pdu.ReplicationCursorRes{Result: &pdu.ReplicationCursorRes_Guid{Guid: cursor.Guid}}, nil
case *pdu.ReplicationCursorReq_Set: case *pdu.ReplicationCursorReq_Set:

View File

@ -463,16 +463,11 @@ func (s *ReplicationStep) doMarkReplicated(ctx context.Context, ka *watchdog.Kee
}, },
}, },
} }
res, err := sender.ReplicationCursor(ctx, req) _, err := sender.ReplicationCursor(ctx, req)
if err != nil { if err != nil {
log.WithError(err).Error("error advancing replication cursor") log.WithError(err).Error("error advancing replication cursor")
return err return err
} }
if res.GetError() != "" {
err := fmt.Errorf("cannot advance replication cursor: %s", res.GetError())
log.Error(err.Error())
return err
}
ka.MadeProgress() ka.MadeProgress()
s.state = StepCompleted s.state = StepCompleted

View File

@ -951,7 +951,7 @@ func (m *ReplicationCursorReq_SetOp) GetSnapshot() string {
type ReplicationCursorRes struct { type ReplicationCursorRes struct {
// Types that are valid to be assigned to Result: // Types that are valid to be assigned to Result:
// *ReplicationCursorRes_Guid // *ReplicationCursorRes_Guid
// *ReplicationCursorRes_Error // *ReplicationCursorRes_Notexist
Result isReplicationCursorRes_Result `protobuf_oneof:"Result"` Result isReplicationCursorRes_Result `protobuf_oneof:"Result"`
XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"` XXX_unrecognized []byte `json:"-"`
@ -991,13 +991,13 @@ type ReplicationCursorRes_Guid struct {
Guid uint64 `protobuf:"varint,1,opt,name=Guid,proto3,oneof"` Guid uint64 `protobuf:"varint,1,opt,name=Guid,proto3,oneof"`
} }
type ReplicationCursorRes_Error struct { type ReplicationCursorRes_Notexist struct {
Error string `protobuf:"bytes,2,opt,name=Error,proto3,oneof"` Notexist bool `protobuf:"varint,2,opt,name=Notexist,proto3,oneof"`
} }
func (*ReplicationCursorRes_Guid) isReplicationCursorRes_Result() {} func (*ReplicationCursorRes_Guid) isReplicationCursorRes_Result() {}
func (*ReplicationCursorRes_Error) isReplicationCursorRes_Result() {} func (*ReplicationCursorRes_Notexist) isReplicationCursorRes_Result() {}
func (m *ReplicationCursorRes) GetResult() isReplicationCursorRes_Result { func (m *ReplicationCursorRes) GetResult() isReplicationCursorRes_Result {
if m != nil { if m != nil {
@ -1013,18 +1013,18 @@ func (m *ReplicationCursorRes) GetGuid() uint64 {
return 0 return 0
} }
func (m *ReplicationCursorRes) GetError() string { func (m *ReplicationCursorRes) GetNotexist() bool {
if x, ok := m.GetResult().(*ReplicationCursorRes_Error); ok { if x, ok := m.GetResult().(*ReplicationCursorRes_Notexist); ok {
return x.Error return x.Notexist
} }
return "" return false
} }
// XXX_OneofFuncs is for the internal use of the proto package. // XXX_OneofFuncs is for the internal use of the proto package.
func (*ReplicationCursorRes) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { func (*ReplicationCursorRes) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
return _ReplicationCursorRes_OneofMarshaler, _ReplicationCursorRes_OneofUnmarshaler, _ReplicationCursorRes_OneofSizer, []interface{}{ return _ReplicationCursorRes_OneofMarshaler, _ReplicationCursorRes_OneofUnmarshaler, _ReplicationCursorRes_OneofSizer, []interface{}{
(*ReplicationCursorRes_Guid)(nil), (*ReplicationCursorRes_Guid)(nil),
(*ReplicationCursorRes_Error)(nil), (*ReplicationCursorRes_Notexist)(nil),
} }
} }
@ -1035,9 +1035,13 @@ func _ReplicationCursorRes_OneofMarshaler(msg proto.Message, b *proto.Buffer) er
case *ReplicationCursorRes_Guid: case *ReplicationCursorRes_Guid:
b.EncodeVarint(1<<3 | proto.WireVarint) b.EncodeVarint(1<<3 | proto.WireVarint)
b.EncodeVarint(uint64(x.Guid)) b.EncodeVarint(uint64(x.Guid))
case *ReplicationCursorRes_Error: case *ReplicationCursorRes_Notexist:
b.EncodeVarint(2<<3 | proto.WireBytes) t := uint64(0)
b.EncodeStringBytes(x.Error) if x.Notexist {
t = 1
}
b.EncodeVarint(2<<3 | proto.WireVarint)
b.EncodeVarint(t)
case nil: case nil:
default: default:
return fmt.Errorf("ReplicationCursorRes.Result has unexpected type %T", x) return fmt.Errorf("ReplicationCursorRes.Result has unexpected type %T", x)
@ -1055,12 +1059,12 @@ func _ReplicationCursorRes_OneofUnmarshaler(msg proto.Message, tag, wire int, b
x, err := b.DecodeVarint() x, err := b.DecodeVarint()
m.Result = &ReplicationCursorRes_Guid{x} m.Result = &ReplicationCursorRes_Guid{x}
return true, err return true, err
case 2: // Result.Error case 2: // Result.Notexist
if wire != proto.WireBytes { if wire != proto.WireVarint {
return true, proto.ErrInternalBadWireType return true, proto.ErrInternalBadWireType
} }
x, err := b.DecodeStringBytes() x, err := b.DecodeVarint()
m.Result = &ReplicationCursorRes_Error{x} m.Result = &ReplicationCursorRes_Notexist{x != 0}
return true, err return true, err
default: default:
return false, nil return false, nil
@ -1074,10 +1078,9 @@ func _ReplicationCursorRes_OneofSizer(msg proto.Message) (n int) {
case *ReplicationCursorRes_Guid: case *ReplicationCursorRes_Guid:
n += 1 // tag and wire n += 1 // tag and wire
n += proto.SizeVarint(uint64(x.Guid)) n += proto.SizeVarint(uint64(x.Guid))
case *ReplicationCursorRes_Error: case *ReplicationCursorRes_Notexist:
n += 1 // tag and wire n += 1 // tag and wire
n += proto.SizeVarint(uint64(len(x.Error))) n += 1
n += len(x.Error)
case nil: case nil:
default: default:
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
@ -1110,47 +1113,47 @@ func init() {
func init() { proto.RegisterFile("pdu.proto", fileDescriptor_5e683fe3d6db3968) } func init() { proto.RegisterFile("pdu.proto", fileDescriptor_5e683fe3d6db3968) }
var fileDescriptor_5e683fe3d6db3968 = []byte{ var fileDescriptor_5e683fe3d6db3968 = []byte{
// 657 bytes of a gzipped FileDescriptorProto // 659 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x55, 0xcb, 0x6e, 0xdb, 0x3a, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x55, 0xdb, 0x6e, 0x13, 0x31,
0x10, 0xb5, 0x6c, 0xd9, 0x96, 0xc7, 0xb9, 0x79, 0x30, 0x41, 0xae, 0x6e, 0x70, 0x71, 0xaf, 0xc1, 0x10, 0xcd, 0xe6, 0xba, 0x99, 0x94, 0x5e, 0xdc, 0xaa, 0x2c, 0x15, 0x82, 0xc8, 0xbc, 0x04, 0x24,
0x6e, 0xdc, 0x02, 0x35, 0x50, 0x27, 0xe8, 0xa6, 0x3b, 0xe7, 0xe5, 0x45, 0x91, 0x04, 0xb4, 0x1b, 0x22, 0x91, 0x56, 0xbc, 0xf0, 0x96, 0xde, 0xf2, 0x80, 0xda, 0xca, 0x09, 0x55, 0x9f, 0x90, 0x42,
0x64, 0x55, 0x40, 0x8d, 0x06, 0x8d, 0xe0, 0x07, 0x15, 0x92, 0x2a, 0xea, 0x7e, 0x40, 0xff, 0xa9, 0x77, 0x44, 0x57, 0xb9, 0x78, 0x6b, 0x7b, 0x51, 0xc3, 0x07, 0xf0, 0x4f, 0xfc, 0x07, 0x0f, 0x7c,
0xff, 0xd1, 0x45, 0x3f, 0xa7, 0xe0, 0x58, 0x92, 0x15, 0xdb, 0x0d, 0xbc, 0x32, 0xcf, 0xf0, 0x70, 0x0e, 0xf2, 0xec, 0x25, 0xdb, 0x24, 0x54, 0x79, 0x8a, 0xcf, 0xf8, 0x78, 0xe6, 0xcc, 0xf1, 0x8e,
0xe6, 0xcc, 0xa1, 0x86, 0x86, 0x46, 0x1c, 0x26, 0x9d, 0x58, 0x49, 0x23, 0x59, 0x25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f5,
0xf4, 0xb7, 0x71, 0xfc, 0x3b, 0x00, 0x00, 0xff, 0xff, 0x02, 0x35, 0xe7, 0x43, 0x43, 0x06, 0x00, 0xad, 0x4a, 0x7f, 0x1e, 0x87, 0xff, 0x02, 0x00, 0x00, 0xff, 0xff, 0x66, 0x74, 0x36, 0x3a, 0x49,
0x00, 0x06, 0x00, 0x00,
} }

View File

@ -113,6 +113,6 @@ message ReplicationCursorReq {
message ReplicationCursorRes { message ReplicationCursorRes {
oneof Result { oneof Result {
uint64 Guid = 1; uint64 Guid = 1;
string Error = 2; bool Notexist = 2;
} }
} }