未验证 提交 7d7ce426 编写于 作者: J Jialin Qiao 提交者: GitHub

fix wal corrupt (#1227)

上级 9a4cd8b8
......@@ -165,7 +165,7 @@
<transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
<resource>META-INF/spring.schemas</resource>
</transformer>
<transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" />
<transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>${start-class}</mainClass>
</transformer>
......
......@@ -126,7 +126,7 @@
</goals>
</pluginExecutionFilter>
<action>
<ignore />
<ignore/>
</action>
</pluginExecution>
</pluginExecutions>
......
......@@ -533,7 +533,7 @@
<id>enforce-version-convergence</id>
<configuration>
<rules>
<dependencyConvergence />
<dependencyConvergence/>
</rules>
</configuration>
<goals>
......@@ -579,7 +579,7 @@
</requireJavaVersion>
<!-- Disabled for now as it breaks the ability to build single modules -->
<!--reactorModuleConvergence/-->
<banVulnerable implementation="org.sonatype.ossindex.maven.enforcer.BanVulnerableDependencies" />
<banVulnerable implementation="org.sonatype.ossindex.maven.enforcer.BanVulnerableDependencies"/>
</rules>
</configuration>
</execution>
......@@ -727,7 +727,7 @@
<instrumentation>
<ignoreTrivial>true</ignoreTrivial>
</instrumentation>
<check />
<check/>
</configuration>
<executions>
<execution>
......
......@@ -87,15 +87,15 @@ public class SingleFileLogReader implements ILogReader {
+ "file: "
+ "%d Calculated: %d.", idx, checkSum, checkSummer.getValue()));
}
} catch (IOException e) {
batchLogReader = new BatchLogReader(ByteBuffer.wrap(buffer));
fileCorrupted = fileCorrupted || batchLogReader.isFileCorrupted();
} catch (Exception e) {
logger.error("Cannot read more PhysicalPlans from {} because", filepath, e);
fileCorrupted = true;
return false;
}
batchLogReader = new BatchLogReader(ByteBuffer.wrap(buffer));
fileCorrupted = fileCorrupted || batchLogReader.isFileCorrupted();
return true;
}
......
......@@ -148,7 +148,7 @@
</goals>
</pluginExecutionFilter>
<action>
<ignore />
<ignore/>
</action>
</pluginExecution>
<pluginExecution>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册