Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-4631

plan-fragment-executor.cc:518] Check failed: other_time <= total_time (25999394 vs. 25999393)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • Impala 2.8.0
    • None
    • Backend

    Description

      This dcheck occasionally fires:

      impalad.FATAL:F1201 22:35:58.617157 30293 plan-fragment-executor.cc:518] Check failed: other_time <= total_time (25999394 vs. 25999393)
      

      I suspect the problem is with using floating point operations in places like this:

         timespec ts;
          clock_gettime(OsInfo::fast_clock(), &ts);
          return ts.tv_sec * 1e9 + ts.tv_nsec;
      

      and because floating point doesn't distribute, and we can end up with

       c * (a + b) < c * a + c * b 

      which is effectively what the dcheck does.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dhecht Daniel Hecht
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: