Marek Siarkowicz
5d044563a8
server: Move raft and wal up the bootstrap hierarchy
2021-09-20 12:19:10 +02:00
Marek Siarkowicz
8b0d8ea2af
server: Move cluster up the bootstrap hierarchy
2021-09-20 12:19:09 +02:00
Marek Siarkowicz
7c8f7166e7
server: Move bootstraping backend from snapshot to bootstrapBackend
2021-09-20 12:17:33 +02:00
Marek Siarkowicz
0211f5a2e8
server: Move snapshot recovery to separate function
2021-09-20 12:07:42 +02:00
Marek Siarkowicz
c97ab8f5e0
server: Move cluster up the bootstrap hierarchy
2021-09-20 12:07:41 +02:00
Marek Siarkowicz
648bac833f
server: Move bootstrappedRaft up in file
2021-09-20 12:06:19 +02:00
Marek Siarkowicz
6a4ea70aef
server: Move clusterID and nodeID up the bootstrap hierarchy
2021-09-20 12:06:18 +02:00
Marek Siarkowicz
db06a4ab28
server: Move wal bootstrap up the hierarchy
2021-09-20 12:04:44 +02:00
Marek Siarkowicz
aa0c050003
etcdserver: Add more hierarchy bootstap introducing a separate storage bootstrap step
2021-09-20 12:01:45 +02:00
Marek Siarkowicz
6c8a4fdcc5
server: Rename bootstrappedWal variables to bwal to separate it from wal package
2021-09-20 11:01:26 +02:00
Marek Siarkowicz
ff3729c4d5
server: Implement storage schema migration to follow cluster version change and panic if unknown storage version is found
...
Storage version should follow cluster version. During upgrades this
should be immidiate as storage version can be always upgraded as storage
is backward compatible. During downgrades it will be delayed and will
require time for incompatible changes to be snapshotted.
As storage version change can happen long after cluster is running, we
need to add a step during bootstrap to validate if loaded data can be
understood by migrator.
2021-09-10 10:16:48 +02:00
Marek Siarkowicz
83a325ac46
server: Move all functions needed for storage bootstrap to storage package
...
This is prerequestite to move storage bootstrap, splitted to separate PR
to make it easier to review.
2021-08-03 13:09:15 +02:00
Marek Siarkowicz
44b8ae145b
etcdserver: Move datadir and wal to storage package
2021-08-03 12:47:37 +02:00
Marek Siarkowicz
6cd3633543
etcdserver: Rename membershipStore to membershipBackend
2021-07-20 17:56:52 +02:00
Marek Siarkowicz
5b6f4579fb
server: Rename buckets to schema
2021-07-12 15:37:21 +02:00
Marek Siarkowicz
5e40a8b00c
server: Create storage package and move mvcc files to it
2021-07-12 15:37:21 +02:00
Marek Siarkowicz
ef6c276fae
etcdserver: Move server bootstraping to one file
2021-07-12 15:37:21 +02:00