HTTP connection - caching, or flush data? Inconsistencies

Dear Hugh,

thank you for writing in.

If you want to flush manually, instantly and purposely, you will need to invoke the REFRESH TABLE statement to synchronize writes, because of CrateDB’s eventual consistency properties. However, data also converges automatically after one second by default, see below.

REFRESH TABLE crate.temp;

That’s correct. By default, data automatically converges after 1000ms, but you can also adjust that on behalf of the refresh_interval table setting, to match your needs.

@hammerhead and @proddata also shared excellent details about this topic over here, including relevant pointers to the reference documentation. Enjoy reading, and don’t hesitate to come back with relevant questions.

With kind regards,
Andreas.

1 Like