Skip to content

[ZOOKEEPER-3642] Fix potential data inconsistency due to DIFF sync after partial SNAP sync. - #1515

Closed
hanm wants to merge 2 commits into
apache:masterfrom
hanm:ZOOKEEPER-3642
Closed

[ZOOKEEPER-3642] Fix potential data inconsistency due to DIFF sync after partial SNAP sync.#1515
hanm wants to merge 2 commits into
apache:masterfrom
hanm:ZOOKEEPER-3642

Conversation

@hanm

@hanm hanm commented Oct 24, 2020

Copy link
Copy Markdown
Contributor

Based on #1224 ; fixed unit test build issue.

@eolivelli eolivelli left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@eolivelli

Copy link
Copy Markdown
Contributor

@hanm

hanm commented Oct 27, 2020

Copy link
Copy Markdown
Contributor Author

I have restarted manually the CI job
https://ci-hadoop.apache.org/blue/organizations/jenkins/zookeeper-precommit-github-pr/detail/PR-1515/2/pipeline

I tried multiple times and can't get a green CI build. All JVM tests pass, and the build failed at C client build step:
`[2020-10-26T14:14:15.576Z] autoreconf: cannot create /tmp/user/910/ar4585.2200: No such file or directory

[2020-10-26T14:14:15.576Z] at /usr/bin/autoreconf line 691.

[2020-10-26T14:14:15.576Z] [ERROR] Command execution failed.

[2020-10-26T14:14:15.576Z] org.apache.commons.exec.ExecuteException: Process exited with an error: 2 (Exit value: 2)

[2020-10-26T14:14:15.576Z] at org.apache.commons.exec.DefaultExecutor.executeInternal (DefaultExecutor.java:404)

[2020-10-26T14:14:15.576Z] at org.apache.commons.exec.DefaultExecutor.execute (DefaultExecutor.java:166)

[2020-10-26T14:14:15.576Z] at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:804)

[2020-10-26T14:14:15.576Z] at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:751)

[2020-10-26T14:14:15.576Z] at org.codehaus.mojo.exec.ExecMojo.execute (ExecMojo.java:313)

[2020-10-26T14:14:15.576Z] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)

[2020-10-26T14:14:15.576Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)

[2020-10-26T14:14:15.576Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)

[2020-10-26T14:14:15.576Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)

[2020-10-26T14:14:15.576Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)

[2020-10-26T14:14:15.576Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)

[2020-10-26T14:14:15.576Z] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)

[2020-10-26T14:14:15.576Z] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)

[2020-10-26T14:14:15.576Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)

[2020-10-26T14:14:15.576Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)

[2020-10-26T14:14:15.576Z] at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)

[2020-10-26T14:14:15.576Z] at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)

[2020-10-26T14:14:15.576Z] at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)

[2020-10-26T14:14:15.576Z] at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)

[2020-10-26T14:14:15.576Z] at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

[2020-10-26T14:14:15.576Z] at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)

[2020-10-26T14:14:15.576Z] at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)

[2020-10-26T14:14:15.576Z] at java.lang.reflect.Method.invoke (Method.java:498)

[2020-10-26T14:14:15.576Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)

[2020-10-26T14:14:15.576Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)

[2020-10-26T14:14:15.576Z] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)

[2020-10-26T14:14:15.576Z] at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)

[2020-10-26T14:14:15.576Z] [INFO] ------------------------------------------------------------------------`

Not exactly sure what went wrong ... this patch is not supposed to impact C client build (or test)..

@hanm

hanm commented Nov 5, 2020

Copy link
Copy Markdown
Contributor Author

@eolivelli this is ready to merge now we finally get a green build.

@ztzg

ztzg commented Nov 23, 2020

Copy link
Copy Markdown
Contributor

@hanm, @eolivelli: Should I take care of this?

@eolivelli eolivelli closed this in efbd660 Nov 23, 2020
@eolivelli

Copy link
Copy Markdown
Contributor

thank you @ztzg for the remained. I have merged the patch.

The original author was @lvfangmin
I have set @hanm and added a reference to @lvfangmin in the commit message.

@ztzg

ztzg commented Nov 23, 2020

Copy link
Copy Markdown
Contributor

@eolivelli: I did not mean to push you. But, LGTM :)

asfgit pushed a commit that referenced this pull request May 17, 2022
…er partial SNAP sync.

Based on #1224 ; fixed unit test build issue.

Author: Fangmin Lyu <fangmin@apache.org>
Author: Michael Han <hanm@apache.org>

Reviewers: Enrico Olivelli <eolivelli@apache.org>, Originally developed by Fangmin Lyu <fangmin@apache.org>

Closes #1515 from hanm/ZOOKEEPER-3642

(cherry picked from commit a53cfeb)
RokLenarcic pushed a commit to RokLenarcic/zookeeper that referenced this pull request Aug 31, 2022
…er partial SNAP sync.

Based on apache#1224 ; fixed unit test build issue.

Author: Fangmin Lyu <fangmin@apache.org>
Author: Michael Han <hanm@apache.org>

Reviewers: Enrico Olivelli <eolivelli@apache.org>, Originally developed by Fangmin Lyu <fangmin@apache.org>

Closes apache#1515 from hanm/ZOOKEEPER-3642
RokLenarcic pushed a commit to RokLenarcic/zookeeper that referenced this pull request Aug 31, 2022
…er partial SNAP sync.

Based on apache#1224 ; fixed unit test build issue.

Author: Fangmin Lyu <fangmin@apache.org>
Author: Michael Han <hanm@apache.org>

Reviewers: Enrico Olivelli <eolivelli@apache.org>, Originally developed by Fangmin Lyu <fangmin@apache.org>

Closes apache#1515 from hanm/ZOOKEEPER-3642
RokLenarcic pushed a commit to RokLenarcic/zookeeper that referenced this pull request Aug 31, 2022
…er partial SNAP sync.

Based on apache#1224 ; fixed unit test build issue.

Author: Fangmin Lyu <fangmin@apache.org>
Author: Michael Han <hanm@apache.org>

Reviewers: Enrico Olivelli <eolivelli@apache.org>, Originally developed by Fangmin Lyu <fangmin@apache.org>

Closes apache#1515 from hanm/ZOOKEEPER-3642
RokLenarcic pushed a commit to RokLenarcic/zookeeper that referenced this pull request Sep 3, 2022
…er partial SNAP sync.

Based on apache#1224 ; fixed unit test build issue.

Author: Fangmin Lyu <fangmin@apache.org>
Author: Michael Han <hanm@apache.org>

Reviewers: Enrico Olivelli <eolivelli@apache.org>, Originally developed by Fangmin Lyu <fangmin@apache.org>

Closes apache#1515 from hanm/ZOOKEEPER-3642
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants