From 514612ade006a7f9b11e1f8f6fc1c6acddcef7f9 Mon Sep 17 00:00:00 2001 From: Roman Tsisyk <roman@tsisyk.com> Date: Thu, 25 Jun 2015 10:16:30 +0300 Subject: [PATCH] Remove buggy assert() on vclock_get() result vclock_get() can return -1 in this case. Probably introduced by 311551f98a090fc1240a661e728fc4322f370b14 --- src/box/recovery.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/box/recovery.cc b/src/box/recovery.cc index 95c2bcaf1c..6600e8b4eb 100644 --- a/src/box/recovery.cc +++ b/src/box/recovery.cc @@ -265,7 +265,6 @@ recovery_apply_row(struct recovery_state *r, struct xrow_header *row) { /* Check lsn */ int64_t current_lsn = vclock_get(&r->vclock, row->server_id); - assert(current_lsn >= 0); if (row->lsn > current_lsn) r->apply_row(r, r->apply_row_param, row); } -- GitLab