domgiles / swingbench-public

Public repository for swingbench to support the creation of issues and a location to download latest builds
73 stars 20 forks source link

Stress_Test Can not used in RAC load #27

Open alexdong2002 opened 2 years ago

alexdong2002 commented 2 years ago

swingbench 2.6.RAC with 2 Nodes I follow the scenario in RAC load test:

  1. start coordinator(coordinatorhost=HOST)
  2. start swingbench1 :cs=rac-node1, coordinator=HOST,group=group1,uc=100
  3. start swingbench2 :cs=rac-node2, coordinator=HOST,group=group2,uc=100
  4. strat clusteroverview :config=stress_test, coordinator=HOST,MonitoredNode1=swingbench1,,MonitoredNode2=swingbench2

but after running after a while ,both swingbenchs report ORA-00001,which means it disobey primary constraint in STRESSTABLE

that i see ,com.dom.benchmarking.swingbench.stresstest.StressTestInsert get the same ID in distribute env, image

domgiles commented 1 year ago

I'll take a look. StressTest is supposed to be a simple test.... It's not best suited for RAC. But I'll see what I can do. I would typically use OrderEntry for testing RAC.