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

cbcollect_info orders memcached.log.* files incorrectly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 2.0
    • 2.0-beta
    • None
    • Security Level: Public
    • None

    Description

      Shell orders file names in lexicographic order which does not always correspond to modification time for two reasons:

      1. When restarted memcached will start counting files from the beginning (i.e. from memcached.log.0.txt)
      2. Lexicographically memcached.log.10.txt is smaller than memcached.log.9.txt.

      So modification time should be used explicitly.

      Attachments

        For Gerrit Dashboard: MB-7049
        # Subject Branch Project Status CR V

        Activity

          People

            bcui Bin Cui (Inactive)
            Aliaksey Artamonau Aliaksey Artamonau (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

                PagerDuty