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

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

    Details

    • Type: Bug
    • Status: Reopened
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: Impala 2.8.0
    • Fix Version/s: None
    • Component/s: Backend
    • Labels:

      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

              • Assignee:
                Unassigned
                Reporter:
                dhecht Dan Hecht
              • Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated: