Hi
We have a couple of internal plugins that we would like to open source. So far, we kept them to ourselves because we were not sure if there would be interest in such plugins but I guess that open sourcing them is the only way to know.
Sync-index is the first one we would like to open source. It allows to synchronize secondary indexes between two Gerrit instances sharing the same repo and database.
That plugin is part of our active/passive master cluster solution. Long term, we want to switch to an external secondary index (i.e. Elasticsearch) but in the meantime, sync-index allows us to keep both master indexes up to date so we can failover between servers anytime without having to worry about an out-of-date index.
Thank you for considering this project creation request.
Hugo
--
--
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.
For more options, visit https://groups.google.com/d/optout.
Edwin has just done it:Thanks.Luca.
On 11 Nov 2015, at 09:31, Luca Milanesio <Luca.Mi...@gmail.com> wrote:
Hi Hugo, thanks for sharing it :-)Edwin is about to create a project right now (he is actually sit next to me :-) )Luca.
On 11 Nov 2015, at 08:46, Hugo Arès <hugo...@ericsson.com> wrote:
Hi
We have a couple of internal plugins that we would like to open source. So far, we kept them to ourselves because we were not sure if there would be interest in such plugins but I guess that open sourcing them is the only way to know.
Sync-index is the first one we would like to open source. It allows to synchronize secondary indexes between two Gerrit instances sharing the same repo and database.
That plugin is part of our active/passive master cluster solution. Long term, we want to switch to an external secondary index (i.e. Elasticsearch) but in the meantime, sync-index allows us to keep both master indexes up to date so we can failover between servers anytime without having to worry about an out-of-date index.
Thank you for considering this project creation request.
Hugo
--
--
To unsubscribe, email repo-discuss+unsub...@googlegroups.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.
For more options, visit https://groups.google.com/d/optout.
Hi Bassem,
To slove the inconsistence of "Index" between the two Gerrit Instance,in my opinoin,this “sync-index” plugin will be a good idea!But I have encountered some problems when I was building the plugin:(1) the buck build system cannot read the “GERRIT_TESTS” in buck file:NameError: name 'GERRIT_TESTS' is not defined
(2)Which version of Gerrit did the plugin support?
Regards
Jeremy Yang
在 2015年12月17日星期四 UTC+8上午3:46:56,Bassem Rabil写道:
1、 Building it within Gerrit tree 2.11/2.12 ,and cannot pass,because:
NameError: name 'GERRIT_TESTS' is not defined
Did you have encountered this problem?
2、At the end,I have to write a pom.xml file and use the maven tool to build a plugin.Now I have been trying to test it.
3、 Because of some special requirement I made a little change of the Gerrit core change [1] and the plugin in order to apply this plugin within the Gerrit 2.10.It looks available so far.
Now the initial version of the plugin [1] has been pushed, can we go back to the discussion on the extension change [2] ? This plugin has been running for us in production environment for around 4 months now, and the CPU cost on core is minimal to broadcast an event for the change being reindexed compared to the CPU required for reindexing a change and checking its mergeability against the new branch tip.