Closed sideninja closed 2 weeks ago
[!IMPORTANT]
Review skipped
Auto reviews are disabled on base/target branches other than the default branch.
Please check the settings in the CodeRabbit UI or the
.coderabbit.yaml
file in this repository. To trigger a single review, invoke the@coderabbitai review
command.You can disable this status message by setting the
reviews.review_status
tofalse
in the CodeRabbit configuration file.
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
merged into feature/state
This PR adds a record of local state index executed blocks. We introduce a concept of indexed and executed block. Indexed block is when the event ingestion engine stores it in a local index. But at that point local state hasn't yet been re-executed and updated so querying the local state is impossible and will return wrong results. So we add executed state to the block which gets set only after the state is re-executed. We also only allow for querying data when it is executed. This introduces a slight delay on data availability but makes sure all the data is consistent.