Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve idempotency of db creation scripts #1479

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
--
-- Add a table to control the number of concurrent repairs

CREATE TABLE running_repairs(
CREATE TABLE IF NOT EXISTS running_repairs(
repair_id uuid,
node text,
reaper_instance_host text,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
--
-- Add a table to store the percent repaired metrics for incremental repair schedules

CREATE TABLE percent_repaired_by_schedule(
CREATE TABLE IF NOT EXISTS percent_repaired_by_schedule(
cluster_name text,
repair_schedule_id uuid,
time_bucket text,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
--
-- Add a table to control the number of concurrent repairs

CREATE TABLE running_repairs(
CREATE TABLE IF NOT EXISTS running_repairs(
repair_id uuid,
node text,
reaper_instance_host text,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
--
-- Add a table to store the percent repaired metrics for incremental repair schedules

CREATE TABLE percent_repaired_by_schedule(
CREATE TABLE IF NOT EXISTS percent_repaired_by_schedule(
cluster_name text,
repair_schedule_id uuid,
time_bucket text,
Expand Down
Loading