Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FATAL: [log_index.cc:206] Check failed: log_index > 0 (-2147483647 vs. 0) #1606

Closed
kmuthukk opened this issue Jun 22, 2019 · 0 comments
Closed
Assignees
Labels
area/docdb YugabyteDB core features kind/bug This issue is a bug

Comments

@kmuthukk
Copy link
Collaborator

Saw this on a cluster causing tablet server restart to get stuck.

[yugabyte@ip.A.B.C.D logs]$ less yb-tserver.FATAL

Log file created at: 2019/06/21 23:34:36
Running on machine: ip-xxxx.internal
Application fingerprint: version 1.2.6.0 build 3 revision b37a303fe36492011dbb9eae018b6f9547b1aa9a build_type RELEASE built at 20 Apr 2019
04:38:49 UTC
Running duration (h:mm:ss): 0:03:30
Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
F0621 23:34:36.080689 27815 log_index.cc:206] Check failed: log_index > 0 (-2147483647 vs. 0)
yb-tserver.FATAL (END)
@kmuthukk kmuthukk added the area/docdb YugabyteDB core features label Jun 22, 2019
@bmatican bmatican added the kind/bug This issue is a bug label Jun 22, 2019
yugabyte-ci pushed a commit that referenced this issue Jun 25, 2019
Summary:
A couple of locations in the Raft log / log_reader / log_cache read path had some unsafe conversions between int64 (from OpIds) to simple ints, causing overflow issues.

Similar issue observed and addressed in Kudu as well: apache/kudu@8363b74

Test Plan: New tests and full Jenkins run.

Reviewers: amitanand, sergei, kannan, mikhail

Reviewed By: mikhail

Subscribers: ybase

Differential Revision: https://phabricator.dev.yugabyte.com/D6798
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/docdb YugabyteDB core features kind/bug This issue is a bug
Projects
None yet
Development

No branches or pull requests

2 participants