]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
Merge pull request #30163 from zhangsw/feature-rgw-opslog-transid
authorCasey Bodley <cbodley@users.noreply.github.com>
Thu, 19 Sep 2019 18:20:50 +0000 (14:20 -0400)
committerGitHub <noreply@github.com>
Thu, 19 Sep 2019 18:20:50 +0000 (14:20 -0400)
rgw: add transaction id to ops log.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
1  2 
src/rgw/rgw_dencoder.cc
src/rgw/rgw_json_enc.cc
src/rgw/rgw_log.cc
src/rgw/rgw_log.h

Simple merge
Simple merge
Simple merge
index 2654cf4402ba7c66163af74adedddcb7353bb464,9c80410202098a4804c99aaefc3915b92a5a2898..dc3200f5f5160676b2778667b1e66d21ae58ff46
@@@ -108,9 -110,12 +110,12 @@@ struct rgw_log_entry 
      if (struct_v >= 9) {
        decode(x_headers, p);
      }
+     if (struct_v >= 10) {
+       decode(trans_id, p);
+     }
      DECODE_FINISH(p);
    }
 -  void dump(Formatter *f) const;
 +  void dump(ceph::Formatter *f) const;
    static void generate_test_instances(list<rgw_log_entry*>& o);
  };
  WRITE_CLASS_ENCODER(rgw_log_entry)