Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-1936

Potential 2B max log index size

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 1.3.0
    • Fix Version/s: n/a
    • Component/s: consensus
    • Labels:
      None

      Description

      We have a report of a potential truncation of a 64 bit integer to 32 bits on a log index. This effectively means we can only update a tablet 2B times before crashing on an integer overflow.

      I'm currently investigating and working on reproducing this.

      Log message looks like this:

      F0313 log_index.cc:171 Check failed: log_index > 0 (-2147483648 vs. 0) 
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                mpercy Mike Percy
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: