The following pull request was submitted through Github. It can be accessed and reviewed at: https://github.com/lxc/lxd/pull/4794
This e-mail was sent by the LXC bot, direct replies will not reach the author unless they happen to be subscribed to this list. === Description (from pull-request) === New fields that are added to the protobuf definitions need to be optional so to not break migration between different LXD versions. Closes #4780. Signed-off-by: Christian Brauner <christian.brau...@ubuntu.com>
From 1c93d2cdeb275a87c0c3c9495ad65b257fce7e1c Mon Sep 17 00:00:00 2001 From: Christian Brauner <christian.brau...@ubuntu.com> Date: Mon, 16 Jul 2018 13:24:50 +0200 Subject: [PATCH] migration: fix cross version migrations New fields that are added to the protobuf definitions need to be optional so to not break migration between different LXD versions. Closes #4780. Signed-off-by: Christian Brauner <christian.brau...@ubuntu.com> --- lxd/migration/migrate.pb.go | 118 ++++++++++++++++++++++---------------------- lxd/migration/migrate.proto | 4 +- 2 files changed, 61 insertions(+), 61 deletions(-) diff --git a/lxd/migration/migrate.pb.go b/lxd/migration/migrate.pb.go index ad752ff8ed..13e68f3067 100644 --- a/lxd/migration/migrate.pb.go +++ b/lxd/migration/migrate.pb.go @@ -220,8 +220,8 @@ type Snapshot struct { LocalDevices []*Device `protobuf:"bytes,5,rep,name=localDevices" json:"localDevices,omitempty"` Architecture *int32 `protobuf:"varint,6,req,name=architecture" json:"architecture,omitempty"` Stateful *bool `protobuf:"varint,7,req,name=stateful" json:"stateful,omitempty"` - CreationDate *int64 `protobuf:"varint,8,req,name=creation_date,json=creationDate" json:"creation_date,omitempty"` - LastUsedDate *int64 `protobuf:"varint,9,req,name=last_used_date,json=lastUsedDate" json:"last_used_date,omitempty"` + CreationDate *int64 `protobuf:"varint,8,opt,name=creation_date,json=creationDate" json:"creation_date,omitempty"` + LastUsedDate *int64 `protobuf:"varint,9,opt,name=last_used_date,json=lastUsedDate" json:"last_used_date,omitempty"` XXX_unrecognized []byte `json:"-"` } @@ -583,64 +583,64 @@ func init() { func init() { proto.RegisterFile("lxd/migration/migrate.proto", fileDescriptor0) } var fileDescriptor0 = []byte{ - // 935 bytes of a gzipped FileDescriptorProto + // 934 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x94, 0x4d, 0x6f, 0xdb, 0x46, - 0x13, 0xc7, 0x1f, 0x51, 0x94, 0x2d, 0x0e, 0x65, 0x47, 0xd9, 0x18, 0x0f, 0x88, 0xa4, 0x2f, 0x2a, - 0x93, 0xa2, 0xaa, 0x0f, 0x76, 0xaa, 0xa0, 0x40, 0x7b, 0xac, 0xe5, 0xba, 0x09, 0x90, 0xb8, 0xc6, + 0x13, 0xc7, 0x1f, 0x51, 0x94, 0x2d, 0x8e, 0x24, 0x47, 0xd9, 0x18, 0x0f, 0x88, 0xa4, 0x2f, 0x2a, + 0x93, 0xa2, 0xaa, 0x0f, 0x76, 0xaa, 0xa0, 0x40, 0x7b, 0xac, 0xa5, 0xba, 0x09, 0x90, 0xb8, 0xc6, 0xca, 0x46, 0xd1, 0x5e, 0x88, 0x2d, 0x39, 0x94, 0x17, 0xe6, 0x1b, 0x76, 0x49, 0x3b, 0xf2, 0xa5, 0xa7, 0x7e, 0x94, 0x7e, 0x9e, 0x9e, 0xfa, 0x7d, 0x8a, 0xdd, 0xe5, 0xd2, 0x54, 0x1b, 0xa0, 0xb7, - 0x9d, 0xff, 0xfc, 0x38, 0xb3, 0xf3, 0xc2, 0x85, 0x67, 0xd9, 0xfb, 0xe4, 0x38, 0xe7, 0x6b, 0xc1, - 0x6a, 0x5e, 0x16, 0xed, 0x09, 0x8f, 0x2a, 0x51, 0xd6, 0x25, 0xf1, 0x3a, 0x47, 0xf8, 0x1b, 0x78, - 0x6f, 0x4e, 0xdf, 0xb1, 0xea, 0x72, 0x53, 0x21, 0x39, 0x80, 0x11, 0x97, 0x0d, 0x4f, 0x82, 0xc1, - 0xcc, 0x99, 0x8f, 0xa9, 0x31, 0x8c, 0xba, 0xe6, 0x49, 0xe0, 0x58, 0x75, 0xcd, 0x13, 0xf2, 0x7f, - 0xd8, 0xb9, 0x2e, 0x65, 0xcd, 0x93, 0x60, 0x38, 0x73, 0xe6, 0x23, 0xda, 0x5a, 0x84, 0x80, 0x5b, - 0x48, 0x9e, 0x04, 0xae, 0x56, 0xf5, 0x99, 0x3c, 0x85, 0x71, 0xce, 0x2a, 0xc1, 0x8a, 0x35, 0x06, - 0x23, 0xad, 0x77, 0x76, 0xf8, 0x12, 0x76, 0x96, 0x65, 0x91, 0xf2, 0x35, 0x99, 0xc2, 0xf0, 0x06, - 0x37, 0x3a, 0xb7, 0x47, 0xd5, 0x51, 0x65, 0xbe, 0x65, 0x59, 0x83, 0x3a, 0xb3, 0x47, 0x8d, 0x11, - 0xfe, 0x00, 0x3b, 0xa7, 0x78, 0xcb, 0x63, 0xd4, 0xb9, 0x58, 0x8e, 0xed, 0x27, 0xfa, 0x4c, 0xbe, - 0x84, 0x9d, 0x58, 0xc7, 0x0b, 0x9c, 0xd9, 0x70, 0xee, 0x2f, 0x1e, 0x1f, 0x75, 0xc5, 0x1e, 0x99, - 0x44, 0xb4, 0x05, 0xc2, 0x3f, 0x1d, 0x18, 0xaf, 0x0a, 0x56, 0xc9, 0xeb, 0xb2, 0xfe, 0x60, 0xac, - 0x57, 0xe0, 0x67, 0x65, 0xcc, 0xb2, 0xe5, 0x7f, 0x04, 0xec, 0x53, 0xaa, 0xd8, 0x4a, 0x94, 0x29, - 0xcf, 0x50, 0x06, 0xc3, 0xd9, 0x70, 0xee, 0xd1, 0xce, 0x26, 0x1f, 0x81, 0x87, 0xd5, 0x35, 0xe6, - 0x28, 0x58, 0xa6, 0x3b, 0x34, 0xa6, 0x0f, 0x02, 0xf9, 0x1a, 0x26, 0x3a, 0x90, 0xa9, 0x4e, 0x06, - 0xa3, 0x7f, 0xe5, 0x33, 0x1e, 0xba, 0x85, 0x91, 0x10, 0x26, 0x4c, 0xc4, 0xd7, 0xbc, 0xc6, 0xb8, - 0x6e, 0x04, 0x06, 0x3b, 0xba, 0xc3, 0x5b, 0x9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31, 0x3a, 0x61, 0x07, 0x00, 0x00, } diff --git a/lxd/migration/migrate.proto b/lxd/migration/migrate.proto index e887c3504e..6f04db560e 100644 --- a/lxd/migration/migrate.proto +++ b/lxd/migration/migrate.proto @@ -42,8 +42,8 @@ message Snapshot { repeated Device localDevices = 5; required int32 architecture = 6; required bool stateful = 7; - required int64 creation_date = 8; - required int64 last_used_date = 9; + optional int64 creation_date = 8; + optional int64 last_used_date = 9; } message MigrationHeader {
_______________________________________________ lxc-devel mailing list lxc-devel@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-devel