summaryrefslogtreecommitdiffstats
path: root/src/rgw/rgw_dencoder.cc
diff options
context:
space:
mode:
authorCasey Bodley <cbodley@users.noreply.github.com>2019-09-19 20:20:50 +0200
committerGitHub <noreply@github.com>2019-09-19 20:20:50 +0200
commit026eed47d25736d5f26e62bf3ca609f8546ccbc2 (patch)
treee6e692f591c5894b9c765d93d61b354ecae06812 /src/rgw/rgw_dencoder.cc
parentMerge pull request #30175 from tianshan/improve-data-sync-retry (diff)
parentrgw: add transaction id to ops log. (diff)
downloadceph-026eed47d25736d5f26e62bf3ca609f8546ccbc2.tar.xz
ceph-026eed47d25736d5f26e62bf3ca609f8546ccbc2.zip
Merge pull request #30163 from zhangsw/feature-rgw-opslog-transid
rgw: add transaction id to ops log. Reviewed-by: Casey Bodley <cbodley@redhat.com>
Diffstat (limited to 'src/rgw/rgw_dencoder.cc')
-rw-r--r--src/rgw/rgw_dencoder.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rgw/rgw_dencoder.cc b/src/rgw/rgw_dencoder.cc
index 04df98698bd..64ad1c21ffe 100644
--- a/src/rgw/rgw_dencoder.cc
+++ b/src/rgw/rgw_dencoder.cc
@@ -238,6 +238,7 @@ void rgw_log_entry::generate_test_instances(list<rgw_log_entry*>& o)
e->user_agent = "user_agent";
e->referrer = "referrer";
e->bucket_id = "10";
+ e->trans_id = "trans_id";
o.push_back(e);
o.push_back(new rgw_log_entry);
}