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

ns_server's concept of time is decoupled from the OS

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.7.1, 1.8.0, 2.0-beta
    • Fix Version/s: 1.8.1
    • Component/s: None
    • Security Level: Public
    • Environment:
      RHEL 5.2 64-bit

      Description

      When testing some systems in a lab environment, I've noticed that after the VM was paused and restarted, the OS is happy with the new time of day, but the ns_server erl VM is stuck in the past. Negative effects of this are the log showing the wrong date and time and the graphs in the UI not working.

      This would seem to indicate any drift fixed at the OS level isn't making it's way into erl. This is particularly bad for things that are paused/restarted, but could also affect those that just naturally drift or drift due to virtualization.

      Note: this hasn't actually been observed against 2.0 Alpha, but it's presumed to be there as well. Filed there so it doesn't get lost in the shift from 1.7 to 2.0.

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

        Activity

        Hide
        alkondratenko Aleksey Kondratenko (Inactive) added a comment -

        This issue was indeed fixed

        Show
        alkondratenko Aleksey Kondratenko (Inactive) added a comment - This issue was indeed fixed
        Hide
        alkondratenko Aleksey Kondratenko (Inactive) added a comment -

        use of os:timestamp is merged to 1.8.1. http://review.couchbase.org/13611

        It quite possibly fixes this issue.

        Show
        alkondratenko Aleksey Kondratenko (Inactive) added a comment - use of os:timestamp is merged to 1.8.1. http://review.couchbase.org/13611 It quite possibly fixes this issue.
        Hide
        ingenthr Matt Ingenthron added a comment -

        Assigning to Farshid for triage.

        Show
        ingenthr Matt Ingenthron added a comment - Assigning to Farshid for triage.
        Hide
        ingenthr Matt Ingenthron added a comment -

        One workaround is to restart, but that isn't intuitive and shouldn't be necessary.

        Show
        ingenthr Matt Ingenthron added a comment - One workaround is to restart, but that isn't intuitive and shouldn't be necessary.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes