Stop node 1 before you start node 2, essentially mocking a full network partition.
On Tue, Aug 9, 2022 at 11:57 AM Cheng Wang via dev <dev@cassandra.apache.org> wrote: > Thank you, Aleksey, > Yes, I have tried this approach, the problem is there is a timing window > that node 1 runs the CREATE TABLE while node 2 is down, and then we bring > up the node 2 and it may receive the gossip from node 1 at startup, and the > CREATE TABLE will fail on node 2 since the table already exists? > > > > On Tue, Aug 9, 2022 at 4:48 AM Aleksey Yeshchenko <alek...@apple.com> > wrote: > >> The absolute easiest way would be to down one of the two nodes first, >> run CREATE TABLE on the live node, shut it down, get the other one up, >> and run the same CREATE TABLE there, the bring up the down node. >> >> > On 9 Aug 2022, at 07:48, Konstantin Osipov via dev < >> dev@cassandra.apache.org> wrote: >> > >> > * Cheng Wang via dev <dev@cassandra.apache.org> [22/08/09 09:43]: >> > >> >> I am working on improving the schema disagreement issue. I need some >> dtests >> >> which can reproduce the schema disagreement. Anyone know if there are >> any >> >> existing tests for that? Or something similar? >> > >> > cassandra-10250 is a good start. >> > >> > -- >> > Konstantin Osipov, Moscow, Russia >> >>