mirror of https://gitee.com/bigwinds/arangodb
remove unnecessary code
This commit is contained in:
parent
d76e85efea
commit
cb868d36a9
|
@ -935,6 +935,7 @@ int ContinuousSyncer::applyLog(SimpleHttpResult* response,
|
||||||
p = q + 1;
|
p = q + 1;
|
||||||
|
|
||||||
VPackSlice const slice = builder->slice();
|
VPackSlice const slice = builder->slice();
|
||||||
|
LOG_TOPIC(ERR, Logger::FIXME) << builder->slice().toJson();
|
||||||
|
|
||||||
if (!slice.isObject()) {
|
if (!slice.isObject()) {
|
||||||
errorMsg = "received invalid JSON data";
|
errorMsg = "received invalid JSON data";
|
||||||
|
@ -944,6 +945,9 @@ int ContinuousSyncer::applyLog(SimpleHttpResult* response,
|
||||||
|
|
||||||
int res;
|
int res;
|
||||||
bool skipped;
|
bool skipped;
|
||||||
|
|
||||||
|
LOG_TOPIC(ERR, Logger::FIXME) << slice.toJson();
|
||||||
|
|
||||||
if (skipMarker(firstRegularTick, slice)) {
|
if (skipMarker(firstRegularTick, slice)) {
|
||||||
// entry is skipped
|
// entry is skipped
|
||||||
res = TRI_ERROR_NO_ERROR;
|
res = TRI_ERROR_NO_ERROR;
|
||||||
|
|
Loading…
Reference in New Issue