mirror of
https://github.com/lancedb/lancedb.git
synced 2026-10-24 12:42:26 +00:00
A spec records how the generations already written were homed, and only its maintained index set could move. Accepting that one repeat means a caller who passes a different sharding — not knowing a spec is installed — gets a success that changed nothing of what they asked for. `set_lsm_write_spec` refuses while a spec is installed, and the refusal names `unset_lsm_write_spec`. Unset drains the open writer first, so the rows it held reach base before the new spec installs. The default intent still reaches a live writer when an index is created, which is the case that needed no spec change at all.