Dear Nisha,
Thanks for creating a patch!
> Removed patch v1-0001. Please find the attached version 2 of 0002,
> which is now v2-0001.
ISMT error_if_invalid is set to true when the slot is using and set to false when dropping.
One exception is the slot_sync, but it has already had mechanism to handle such a slot.
I confirmed RaiseSlotInvalidationError() is removed based on comments.
I ran regression tests on my env and passed.
In total the patch looks good to me.
----------
Best regards,
Haato Kuroda