Dear Felipe,
thank you for writing in. Let me start by citing our documentation on this topic, where I believe you are observing the corresponding behaviour, when quickly querying the table directly after inserting.
By default, the table-level setting refresh_interval
is set to 1000ms, but that setting can be changed to fit your needs.
Other than the documentation, @proddata also shared a good explanation at CrateDB need timeout to see changes from insert/update/delete queries, which may be useful.
Please let us know if this helps already, or if you think you are observing a different issue.
With kind regards,
Andreas.