<div dir="ltr"><div>Hi all,<br></div><div>I have created a PR for Diskless Cluster Mode v2</div><a href="https://github.com/diennea/herddb/pull/676">https://github.com/diennea/herddb/pull/676</a><br><div><br></div><div>See the description for the details.</div><div><br></div><div>This change introduces the ability to set &#39;*&#39; as &#39;replicas&#39; for a tablespace, meaning that every node is automatically a good replica for the tablespace.</div><div><br></div><div>This makes sense in Diskless Cluster Mode v2 because in that mode only one node works, the leader, and followers are stand-by only and do not store additional data.</div><div><br></div><div>As a follow up I would like to work in two directions:</div><div>- make the cluster mode: &#39;traditional&#39; vs &#39;diskless&#39; configurable per-tablespace and not per cluster, I would call it &#39;storageMode: file vs bookkeeper&#39;</div><div><div>- create default tablespace &#39;herd&#39; with replica = &#39;*&#39;, storageMode: bookkeeper and maxleaderinactivitytimeout=30 seconds</div><div><br></div><div>with these two features the tablespace &#39;herd&#39; will be always available, and this will ease working in an HerdDB cluster, because by default all of the queries, event the ones about metadata (systablespaces, sysnodes.....) are by default routed to the server for &#39;herd&#39; tablespace.</div><div><br></div><div>An alternative would be to add a new virtualtablespace, like  &#39;metadata&#39; that cannot contain tables and that it is assigned to every node (replica=*,  maxleaderinactivitytimeout=30 seconds)</div><div><br></div><div>I would like to get this stuff in for 0.19.0, as I am preparing for the ApacheCon talk, and we need to be more userfriendly</div><div><br></div><div>Thoughts ?</div><div>Enrico</div><div></div></div><div><br></div></div>