fix(history): ensure version 0 creation failure fails record upload request
Bug Report Template
fix(history): ensure version 0 creation failure fails record upload request
Description
This merge request fixes a bug where version 0 history entry is not being created during chunked record uploads (POST /upload), causing missing initial state for uploaded records. and updates the backfill to backfill the version 0 for w=those which are not created.
Checklist
-
The bug has been reproduced and confirmed. -
A clear and concise fix has been implemented. -
New tests have been added to prevent regressions. -
Existing tests are passing.
Related Issue(s)
Closes #
Edited by Surya Manoj Pentakota