Hi,Currently we have couple of gerrit production instances (Say A and B) running on 2.16.28 and migrated to notedb. Now due to a requirement we need to migrate these 2 gerrit instances to a new gerrit instance, called "C" ( This will be a empty instance, running on same 2.16.28version). My doubts- can we use importer plugin to migrate the projects from A and B to C ?- if importer plugin don't have the capabilities to migrate projects that are already migrated to notedb. Then the only option is to move the entire repo and run reindex, correct? in this case how to avoid change numbering conflict if say instance A and B have same numbered CL?
Thanks Sven, we were able to overcome the change conflict by renumbering the change #s. But now unsure how to proceed with account conflict. We have same user account in instance A and B but with different account id.
[externalId "username:manishn"]
accountId = 1004590
accountId =
800
Any pointers on how to deal with account conflict when migrating projects from one instance to other?
--
--
To unsubscribe, email repo-discuss...@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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/repo-discuss/5b925a45-f10c-4504-b2c1-75229f4400acn%40googlegroups.com.
On 5 Jun 2023, at 11:27, Sven Selberg <sven.s...@axis.com> wrote:On Monday, June 5, 2023 at 11:30:30 AM UTC+2 hari wrote:Thanks Sven, we were able to overcome the change conflict by renumbering the change #s. But now unsure how to proceed with account conflict. We have same user account in instance A and B but with different account id.
In Instance A:[externalId "username:manishn"]
accountId = 1004590
In Instance B:
[externalId "username:manishn"]accountId = 800
Any pointers on how to deal with account conflict when migrating projects from one instance to other?Just my thoughts, not unlikely there's someone else that has more experience with merging accounts that will disagree. ;-)One option is to manually merge the two accounts.
In most cases they should be more or less identical so basically:
1. Verify that all settings are the same.2. Just refrain from migrating accountId=800.One issue with this option is that the change-metadata (change-owner...) is connected to the account ID so in that case you would have to change all references in the change-metadata to link to the "new" AccountID.Another option is to keep both account, but changing username/email on the "unused" account and deactivate it.
Don't know which dragons lies in this option.There is also the option to have an “imported” identity of the old account-id, assuming is coming from a server with a different server-id.See [1] for more info.HTHLuca.
Create the destination project of the import in Gerrit
Push the changes under refs/changes/* from the source Gerrit into the newly created destination project. - which commands are needed here to push open MRs. also help me how to clone the source repository which can get all refs/changes/* data.
using this document.
Create the destination project of the import in Gerrit
Push the changes under refs/changes/* from the source Gerrit into the newly created destination project. - which commands are needed here to push open MRs.
also help me how to clone the source repository which can get all refs/changes/* data.
--
--
To unsubscribe, email repo-discuss...@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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/repo-discuss/5b925a45-f10c-4504-b2c1-75229f4400acn%40googlegroups.com.
--
--
To unsubscribe, email repo-discuss...@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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/repo-discuss/45557708-7584-4551-941c-ca5f8ebaa775n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/repo-discuss/e735ec86-d5b0-4250-9282-fc8eb3a818b6n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/repo-discuss/d844d325-a164-4944-abe1-e2be37e3be14n%40googlegroups.com.
2. project:int_tpf/nets-mw-lpad-imported-change:1089323. int_tpf/nets-mw-lpad-imported-108932
And this is visible on direct URL : https://androidtest.company.com/c/int_tpf/nets-mw-lpad-imported/+/108932
To view this discussion on the web visit https://groups.google.com/d/msgid/repo-discuss/13e9afef-fa26-4771-92e3-22a33cbb59c3n%40googlegroups.com.
I am working on a fix for it.
To view this discussion on the web visit https://groups.google.com/d/msgid/repo-discuss/ec379c8b-9042-44cc-b5c4-005d0674a847n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/repo-discuss/CAPYXC5MXDu5mnt101FNzzOzu%2BzfomDt9RKiaDYhMPEjhYJ0Cgw%40mail.gmail.com.
To my experience, using Gerrit 3.9.1-63-g84deab1e49 on gerrithub.io, you can search for imported changes using their changeId e.g.
To view this discussion on the web visit https://groups.google.com/d/msgid/repo-discuss/CAKSZd3QAwRw3XS-nRCbpaNfHsVSAbu51W%3DCM1kapxjAaF56%2BGw%40mail.gmail.com.
Hi,
On Wed, 31 Jan 2024 at 10:33, Matthias Sohn <matthi...@gmail.com> wrote:To my experience, using Gerrit 3.9.1-63-g84deab1e49 on gerrithub.io, you can search for imported changes using their changeId e.g.O yes, search by changeId works fine.
On 31 Jan 2024, at 12:10, tech....@gmail.com <tech....@gmail.com> wrote:On Wednesday 31 January 2024 at 16:07:18 UTC+5:30 Fabio Ponciroli wrote:Hi,On Wed, 31 Jan 2024 at 10:33, Matthias Sohn <matthi...@gmail.com> wrote:To my experience, using Gerrit 3.9.1-63-g84deab1e49 on gerrithub.io, you can search for imported changes using their changeId e.g.O yes, search by changeId works fine.Yeah, but change Ids are not unique in lot of cases in our production instance. this might lead to other issues
To view this discussion on the web visit https://groups.google.com/d/msgid/repo-discuss/0f802960-33e9-4ccc-b0b6-60b4dcc4a94en%40googlegroups.com.
On 31 Jan 2024, at 12:10, tech....@gmail.com <tech....@gmail.com> wrote:On Wednesday 31 January 2024 at 16:07:18 UTC+5:30 Fabio Ponciroli wrote:Hi,On Wed, 31 Jan 2024 at 10:33, Matthias Sohn <matthi...@gmail.com> wrote:To my experience, using Gerrit 3.9.1-63-g84deab1e49 on gerrithub.io, you can search for imported changes using their changeId e.g.O yes, search by changeId works fine.Yeah, but change Ids are not unique in lot of cases in our production instance. this might lead to other issuesYou should then wait until Gerrit v3.10 IMHO, which should be out in Spring.@Ponch has a change (under review) for allowing search by change number for imported changes.
To view this discussion on the web visit https://groups.google.com/d/msgid/repo-discuss/D16FDA65-854A-49A1-958F-D13812B01057%40gmail.com.