Commit 0c12655
fix: Clean up version history on delete and use write_engine consistently
- delete_feature_view now also deletes version history records,
preventing IntegrityError when re-creating a previously deleted FV
- _get_next_version_number uses write_engine instead of read_engine
to avoid stale version numbers with read replicas
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent f035e96 commit 0c12655
1 file changed
+8
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
561 | 561 | | |
562 | 562 | | |
563 | 563 | | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
564 | 571 | | |
565 | 572 | | |
566 | 573 | | |
| |||
992 | 999 | | |
993 | 1000 | | |
994 | 1001 | | |
995 | | - | |
| 1002 | + | |
996 | 1003 | | |
997 | 1004 | | |
998 | 1005 | | |
| |||
0 commit comments