> To unsubscribe, email repo-discuss+unsubscribe@googlegroups.com
> More info at http://groups.google.com/group/repo-discuss?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss+unsubscribe@googlegroups.com.
> <console.out.txt>
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss+unsubscribe@googlegroups.com.
On 12 Dec 2017, at 19:06, Martin Fick <mf...@codeaurora.org> wrote:On Tuesday, December 12, 2017 05:34:01 PM 'Edwin Kempin' via
Repo and Gerrit Discussion wrote:AFAIK that's a limitation of our schema migration
framework :( The schema migration framework knows 2
versions of the schema, the old one that is currently
used in ReviewDb and the new one to which the upgrade is
done.
Before running the schema migrations it adds all new
columns from the new schema to ReviewDb so that the
schema migrations have access to the superset of the
columns. After the schema migrations are done old columns
that no longer exist in the new schema are removed.
If in between the 2 schema versions a column is both added
and removed again the schema migration framework has no
way of knowing about it and hence cannot provide it for
the schema migrations.
No idea how to fix this.
If we can't fix it, should we prevent migrations to 2.15 from
anything but 2.14?
-Martin
--
The Qualcomm Innovation Center, Inc. is a member of Code
Aurora Forum, hosted by The Linux Foundation
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
On Tuesday, December 12, 2017 05:34:01 PM 'Edwin Kempin' via
Repo and Gerrit Discussion wrote:
> AFAIK that's a limitation of our schema migration
> framework :( The schema migration framework knows 2
> versions of the schema, the old one that is currently
> used in ReviewDb and the new one to which the upgrade is
> done.
> Before running the schema migrations it adds all new
> columns from the new schema to ReviewDb so that the
> schema migrations have access to the superset of the
> columns. After the schema migrations are done old columns
> that no longer exist in the new schema are removed.
>
> If in between the 2 schema versions a column is both added
> and removed again the schema migration framework has no
> way of knowing about it and hence cannot provide it for
> the schema migrations.
>
> No idea how to fix this.
If we can't fix it, should we prevent migrations to 2.15 from
anything but 2.14?
-Martin
--
The Qualcomm Innovation Center, Inc. is a member of Code
Aurora Forum, hosted by The Linux Foundation
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
Hi,Just before we throw the baby out with bathwater can we consider quite simple fix for it:
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss+unsubscribe@googlegroups.com.
Hi,Just before we throw the baby out with bathwater can we consider quite simple fix for it:I understand that some of us are going from version to next version but the others prefer longer jumps (for various reasons ;)).In addition I would like to point out that AFAIR 2.15 (or 2.16) is the only one that is upgradable from SQL to notedb
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss+unsubscribe@googlegroups.com.
Small correction: this is true for the online migration. 3.0 will allow an offline NoteDb migration by running init followed by migrate-to-note-db.
On Thursday, 14 December 2017 16:12:18 UTC+1, Dave Borowitz wrote:Small correction: this is true for the online migration. 3.0 will allow an offline NoteDb migration by running init followed by migrate-to-note-db.Right - just briefly watched your presentation from GUS 2017:3.0 is the last one that supports offline migration. Starting from 3.1 however migration is no longer possible (neither online nor offline), right?
IOW if I am not mistaken ;) migration from 2.14 would require offline migration being called from 3.0 and init on 3.1.
RegardsJacek
That is precisely why I would like to avoid having 2.14 added to this picture :D
Thanks for detailed explanation!
Regards
Jacek
On Thu, Dec 14, 2017 at 10:54 AM, Jacek Centkowski <geminica...@gmail.com> wrote:
On Thursday, 14 December 2017 16:12:18 UTC+1, Dave Borowitz wrote:Small correction: this is true for the online migration. 3.0 will allow an offline NoteDb migration by running init followed by migrate-to-note-db.Right - just briefly watched your presentation from GUS 2017:3.0 is the last one that supports offline migration. Starting from 3.1 however migration is no longer possible (neither online nor offline), right?Right.IOW if I am not mistaken ;) migration from 2.14 would require offline migration being called from 3.0 and init on 3.1.For 2.14 -> 3.1, there are two possible migration paths:Option 1:* init @2.15* offline or online migration @2.15* init @3.1Option 2:* init @3.0* offline migration @3.0* init @3.1If you're already on NoteDb, you can go to 3.1 (or any later 3.x) with only a single "init", regardless of what version you're coming from. In practice, of course, you can only be on NoteDb if you're on 2.15.RegardsJacek
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
That is precisely why I would like to avoid having 2.14 added to this picture :D