Any completed local pack, including the uploaded imported ones, can be rolled back. A rollback restores the versions of all the records in this local pack as they were before the start of the update collection. When you roll back an imported configuration pack, the system is restored to the state before the import. Deleted records are restored, and created records are deleted.
After a rollback is completed, the imported versions remain in the system as outdated VCS records. You can restore these record versions manually.
Example
To rollback a local pack, complete the steps below:
As a result, the following changes occur:
Import result | Rollback result |
---|---|
A new table | The table and its records are deleted. |
A new field | The field and the information about the field is deleted. |
A deleted field | The field is restored to the database, but the original data is lost. |
A record inserted | The record is deleted. |
A record deleted | The record is restored with its initial data. |
A record updated | The previous record version is restored. |
General process of solving the rollback collisions is the following:
Make the necessary changes to solve the collisions.
Collision case 1When rolling back a local pack, the state of the record is Collision. The Message field contains the following text:
Solution: Move the current record to the local pack that you need to rollback, and click Rollback preview. |
Collision case 2When rolling back a local pack, a record changes its state to Collision. The Message field contains the following text:
Solution: Continue the rollback. The collision record will be skipped. |
Collision case 3When rolling back a local pack, a record changes its state to Collision. The Message field contains the following text:
Solution: Continue the rollback. The collision record will be skipped. |
Collision case 4A local pack contains a new table as an Insert record. A rollback should cause the deletion of this table, but the records that it contains, prevent the table from removal. When the rollback is prepared, the state of the records changes to Skipped. The Message field contains the following text:
Solution:
|
See more examples of possible collisions in the Collision Resolving Rules article. |