Skip to content

Commit

Permalink
Scatter multi-register tables on setup
Browse files Browse the repository at this point in the history
This should help spread the tables over the cluster.
  • Loading branch information
nvanbenschoten authored and aliher1911 committed Dec 24, 2021
1 parent 064d409 commit 1a4ccd6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cockroachdb/src/jepsen/cockroach/multiregister.clj
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
(doseq [t table-names]
(j/execute! c [(str "create table " t
" (ik int primary key, val int)")])
(j/execute! c [(str "alter table " t " scatter")])
(info "Created table" t))))))

(invoke! [this test op]
Expand Down

0 comments on commit 1a4ccd6

Please sign in to comment.