I'm using #OPTION('clusterSize') to decrease the effective number of nodes in the cluster.
Most of the system respects that setting, but when I use:
DATASET(1, createRec(COUNTER), LOCAL)
it creates one record per actual node in the cluster and does not respect the setting.
I am able to work around this, so not waiting for a fix, but don't want anyone else to have to track it down. It caused a SEG in my work-unit, so took me a while to isolate.
Here is a program that recreates the problem:
node := Thorlib.node();
nodes := Thorlib.nodes();
#option ('clusterSize', 5);
myRec := RECORD
d := DATASET(1, TRANSFORM(myRec, SELF.num := node), LOCAL);
// D now has 20 records (on a 20 node thor). Should have 5.