A deployment to switch usage of database tables storing room data was negatively impacted by a previous bug which resulted in the data not being mirrored correctly to the new table. This in turn impacted information stored about room state as well as parent data, creating a scenario wherein spaces could be set to the wrong state and a wrong parent.
In addition, there was another bug introduced in this deploy due to which any change of room through the application UI deleted the room parent. It was therefore not possible to manually reassign the parent.
This incorrect parent/ child setup produced colliding reservations and potential overbookings for properties using nested spaces.
Wrong configuration of the database table migration.
Long data recovery time led to delayed resolution.