Distributed hypertables in multinode-timescaledb,How to control which node to save to

If the hard disk space of one node is exhausted, and other nodes have enough space or add new nodes, how to control the data not to continue to be saved to the node with exhausted hard disk space

Hey @loveworldlovesky ,

We have two experimental functions which allow to do this: block_new_chunks and allow_new_chunks. First function prevents creating new chunks on a particular data node, but updates for existing chunks are still going.

I believe those functions are not documented unfortunately, so I’ll share the link to the definition: https://github.com/timescale/timescaledb/blob/main/sql/ddl_experimental.sql#L15

1 Like

Thank you for your support.
I tried and found it worked.
Do you have any plans to turn this two experimental functions ( block_new_chunks and allow_new_chunks) into a formal function.

2 Likes