diff --git a/server/etcdserver/bootstrap.go b/server/etcdserver/bootstrap.go index 992e26d4f96..309ed67bbbc 100644 --- a/server/etcdserver/bootstrap.go +++ b/server/etcdserver/bootstrap.go @@ -216,7 +216,7 @@ func bootstrapBackend(cfg config.ServerConfig, haveWAL bool, st v2store.Store, s return nil, err } } - cfg.Logger.Debug("restore consistentIndex", zap.Uint64("index", ci.ConsistentIndex())) + cfg.Logger.Info("restore consistentIndex", zap.Uint64("index", ci.ConsistentIndex())) // TODO(serathius): Implement schema setup in fresh storage var snapshot *raftpb.Snapshot diff --git a/tests/e2e/etcd_mix_versions_test.go b/tests/e2e/etcd_mix_versions_test.go index 0ff55f67877..46dab60db71 100644 --- a/tests/e2e/etcd_mix_versions_test.go +++ b/tests/e2e/etcd_mix_versions_test.go @@ -148,8 +148,8 @@ func mixVersionsSnapshotTestByMockPartition(t *testing.T, cfg *e2e.EtcdProcessCl err = toPartitionedMember.Stop() require.NoError(t, err) - t.Log("Writing 20 keys to the cluster (more than SnapshotCount entries to trigger at least a snapshot)") - writeKVs(t, epc.Etcdctl(), 0, 20) + t.Log("Writing 30 keys to the cluster (more than SnapshotCount entries to trigger at least a snapshot)") + writeKVs(t, epc.Etcdctl(), 0, 30) t.Log("Verify logs to check leader has saved snapshot") leaderEPC := epc.Procs[epc.WaitLeader(t)]