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

early return in AuditFile::close_and_rotate_file don't reset open_time

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 7.1.2
    • 6.6.1, 6.6.2, 6.6.3, 6.6.4, 6.6.5, 7.0.0, 7.0.1, 7.0.2, 7.0.3, 7.0.4, 7.1.0, 7.1.1
    • memcached
    • Untriaged
    • 1
    • Unknown

    Description

      void AuditFile::close_and_rotate_log() {
      120      cb_assert(file);
      121      file.reset();
      122      if (current_size == 0) {
      123          remove(open_file_name.c_str());
      124          return;
      125      }
      

      Attachments

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

        Activity

          People

            trond Trond Norbye
            trond Trond Norbye
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty