mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 16:42:05 +00:00
Update compare.sh
This commit is contained in:
parent
396360cd90
commit
def6817ede
@ -42,9 +42,11 @@ function configure
|
|||||||
rm db0/metadata/system/* -rf ||:
|
rm db0/metadata/system/* -rf ||:
|
||||||
|
|
||||||
# Make copies of the original db for both servers. Use hardlinks instead
|
# Make copies of the original db for both servers. Use hardlinks instead
|
||||||
# of copying.
|
# of copying. Be careful to remove preprocessed configs or it can lead to
|
||||||
|
# weird effects.
|
||||||
rm -r left/db ||:
|
rm -r left/db ||:
|
||||||
rm -r right/db ||:
|
rm -r right/db ||:
|
||||||
|
rm -r db0/preprocessed_configs ||:
|
||||||
cp -al db0/ left/db/
|
cp -al db0/ left/db/
|
||||||
cp -al db0/ right/db/
|
cp -al db0/ right/db/
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user