end-migration scripts of already migrated modules are not executed after resuming a failing migration

Abierto
#1,879 4 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 3 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
30/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Tranquilo
Stack tecnológico
python
Área
databases

Línea de trabajo

The payload names no file or function, so begin by finding how OpenUpgrade records completed module migrations and how it resumes after a failure, then how end-migration scripts are selected on that path. Reproduce by migrating a database with several modules that have end scripts, forcing a failure, fixing it, and resuming. Done means end scripts for already-migrated modules run on resume. The thread has four comments, no assignee and no linked pull request, and mentions a related Odoo change, so check with maintainers before starting.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Feature Request no stale

Impacted versions: All

Steps to reproduce: Migrate a DB, complete several module migrations (with end migration scripts), and fail it.

Current behavior: Resuming the migration after fixing the problem, end migration scripts for the already migrated modules are not executed.

Expected behavior: They should be.

It's worth to note that Odoo is also contemplating to allow to resume migrations in https://github.com/odoo/odoo/pull/32634, and they have faced also the end-migration problem.

@Tecnativa

Lenguaje dominante
Python
Estrellas
995
Forks
837
Merge medio
2 d 8 h
PR fusionados (30 d)
12

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de OCA/OpenUpgrade

Todos los issues de OCA/OpenUpgrade

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.