Honestly it wasnt, I think the scenario I have experienced after the regression fix, might be some kind of timing issue that it takes some time after dropping a referenced collection and re-creating it until all internal references is updated, as maybe the regression fix for performance was to do it async?
But - the issue from
@Grigoris Balaskas reproduces so aliases is a issue it seems. Added new issue for it:
https://github.com/typesense/typesense/issues/2827
All non-alias drop/recreate scenarios work perfectly on 30.1, including:
- Large datasets (500+ docs)
- Dropping referenced (right side) collection
- Dropping referencing (left side) collection
- Seq_id space shrinking (100 → 3 docs)
- Multiple async references (drop one, keep other)
- String id references
- Rapid drop+recreate with no sleep
- Querying mid-import (partial resolution)