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

cbcollect_info redaction producing 0-length files

    XMLWordPrintable

Details

    • Untriaged
    • 0
    • Yes

    Description

      In trinity latest, several files in redacted logs are 0 length- the files are properly present in the unreacted logs:

      $ unzip -v collectinfo-2024-08-25T163346-n_0\@192.168.20.230-redacted.zip  | egrep '^\W*0\W'
             0  Defl:N        2   0% 08-25-2024 12:34 00000000  cbcollect_info_n_0@192.168.20.230_20240825-163347/analytics_diag.json
             0  Defl:N        2   0% 08-25-2024 12:35 00000000  cbcollect_info_n_0@192.168.20.230_20240825-163347/rebalance_report_current.json
             0  Defl:N        2   0% 08-25-2024 12:35 00000000  cbcollect_info_n_0@192.168.20.230_20240825-163347/certs/certs.info
             0  Defl:N        2   0% 08-25-2024 12:35 00000000  cbcollect_info_n_0@192.168.20.230_20240825-163347/certs/client_certs.info
       
      $ unzip -v collectinfo-2024-08-25T163346-n_0\@192.168.20.230.zip  | egrep '^\W*0\W'
       
      $ unzip -p collectinfo-2024-08-25T163346-n_0\@192.168.20.230.zip cbcollect_info_n_0@192.168.20.230_20240825-163347/analytics_diag.json | wc
             0     789  265555
       
      $ unzip -p collectinfo-2024-08-25T163346-n_0\@192.168.20.230.zip cbcollect_info_n_0@192.168.20.230_20240825-163347/analytics_diag.json | jq | head
      {
        "cc": {
          "config": {
            "address": "0.0.0.0",
            "analyticsHttpListenAddress": "0.0.0.0",
            "analyticsHttpListenPort": 9601,
            "analyticsMetadataPartitionId": -1,
            "clientListenAddress": "0.0.0.0",
            "clientListenPort": 9603,
            "clientPublicAddress": "192.168.20.230",
      
      

      This is at 7.6.3 latest ns_server:
      07f2f14d9 (HEAD, gerrit/trinity, couchbase/trinity) MB-62604: Add cb-on-behalf extras

      Attachments

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

        Activity

          People

            pulkit.matta Pulkit Matta
            michael.blow Michael Blow
            Votes:
            0 Vote for this issue
            Watchers:
            14 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty