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

Invalid timestamp of gathered stats samples

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Security Level: Public
    • Labels:
      None
    • Environment:
      Reported on Centos 6

      Description

      http://www.couchbase.org/forums/thread/load-graph-displaying-incorrect-time

      Looks like erlang:now() and os:timestamp() are returning wildly different results. We should start using os:timestamp() to get right time when sampling stats. But it's also curious why erlang:now is that much behind real clock.

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

        Activity

        Hide
        thuan Thuan Nguyen added a comment -

        Integrated in github-ns-server-2-0 #315 (See http://qa.hq.northscale.net/job/github-ns-server-2-0/315/)
        use wall clock time instead of now() for stats timestamps.MB-4554 (Revision 4a6e1d422ccd889cacab47cd4cf2846594bc8350)

        Result = SUCCESS
        Aliaksey Artamonau :
        Files :

        • src/ns_tick.erl
        Show
        thuan Thuan Nguyen added a comment - Integrated in github-ns-server-2-0 #315 (See http://qa.hq.northscale.net/job/github-ns-server-2-0/315/ ) use wall clock time instead of now() for stats timestamps. MB-4554 (Revision 4a6e1d422ccd889cacab47cd4cf2846594bc8350) Result = SUCCESS Aliaksey Artamonau : Files : src/ns_tick.erl
        Hide
        alkondratenko Aleksey Kondratenko (Inactive) added a comment -

        Fix for 1.8.1 and merged for 2.0

        Show
        alkondratenko Aleksey Kondratenko (Inactive) added a comment - Fix for 1.8.1 and merged for 2.0

          People

          • Assignee:
            alkondratenko Aleksey Kondratenko (Inactive)
            Reporter:
            alkondratenko Aleksey Kondratenko (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes