Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-7453

mapreduce nif terminator loop is using CPU time _of all process' threads_ as a clock causing 5 seconds to elapse _much_ earlier than wall clock 5 seconds under load

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 2.1.0
    • 2.0
    • view-engine
    • Security Level: Public
    • None
    • Linux, but seemingly any POSIX and perhaps even windows

    Description

      clock(3) is using process CPU time. Which is kinda nice except that it'll be sum of CPU times of all threads. If we have 8-16 or more cores that time will advance 8-16 or more times faster than wall clock time. Thus termination timeout will occur much earlier than 5 seconds. Seemingly.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            andreibaranouski Andrei Baranouski
            alkondratenko Aleksey Kondratenko (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty