]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: es: fix attrs trimming
authorYehuda Sadeh <yehuda@redhat.com>
Thu, 24 Jan 2019 01:22:25 +0000 (17:22 -0800)
committerYehuda Sadeh <yehuda@redhat.com>
Fri, 25 Jan 2019 23:45:57 +0000 (15:45 -0800)
commit9f8bb33fa7dd00a5c220710543618b6ad9e77dcc
tree28ca3e4ab8db896efda9c559b8d004e1f1bc88d9
parent8c5218f0f00c7a73dc9de851f1c1f1bbba4cdba7
rgw: es: fix attrs trimming

Fixes: http://tracker.ceph.com/issues/38028
Since we don't necessarily keep attr headers with null terminating char,
need to be careful when trying to trim them.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
src/rgw/rgw_sync_module_es.cc