استراتيجيات التراجع
في هذا الدرس 4 موضوعات
هذا الدرس مخطط له. يعرض المخطط أدناه الموضوعات التي سيغطيها، ولم يُنشر الدرس الكامل بعد.
نص الدروس والتمارين باللغة الإنجليزية، بينما تبقى واجهة الموقع وعناوين الدروس بالعربية.
في هذا الدرس
plan rollback for each step before starting.
الموضوعات المخطط لها
- Prefer roll-forward fixes, but each step must be reversible or harmless to leave.
- Expand steps roll back by deploying the previous app version; the extra column is harmless.
- Destructive steps (drop column, drop table) are the point of no return: take a backup and do them last, after a soak period.
- Flyway/Liquibase migrations are versioned and not rolled back automatically; write the compensating migration.
- Practice the rollback in staging.
تفاصيل المخطط المبدئي
عرض عملي
a table per step: change, how to verify, rollback action, point of no return.
اختبر فهمك
Which step cannot be rolled back easily?
أظهر الإجابة
Dropping the old column.
التطبيق
طبّق هذا الدرس بمختبر الوحدة وتمارينها واختبارها.
تعليم الدرس كمكتمل اختياري ويمكنك التراجع عنه في أي وقت. يبقى تقدمك محفوظًا في هذا المتصفح.