From e63735f7263c0f696611e1d57b61de2b12996e4f Mon Sep 17 00:00:00 2001 From: Matt Klein Date: Tue, 17 Jan 2017 12:53:16 -0800 Subject: [PATCH] hot restart: bump version The stats change in https://github.com/lyft/envoy/pull/348 does not actually change the size of the shared memory region due to compiler alignment (at least on gcc 4.9). This will force a shared memory region version bump. --- source/exe/hot_restart.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/exe/hot_restart.cc b/source/exe/hot_restart.cc index 346dae00fd669..9962bfb88dc82 100644 --- a/source/exe/hot_restart.cc +++ b/source/exe/hot_restart.cc @@ -14,7 +14,7 @@ namespace Server { // Increment this whenever there is a shared memory / RPC change that will prevent a hot restart // from working. Operations code can then cope with this and do a full restart. -const uint64_t SharedMemory::VERSION = 3; +const uint64_t SharedMemory::VERSION = 4; SharedMemory& SharedMemory::initialize(Options& options) { int flags = O_RDWR;