]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: ES sync: be more restrictive on object system attrs
authorAbhishek Lekshmanan <abhishek@suse.com>
Tue, 9 Oct 2018 11:03:13 +0000 (13:03 +0200)
committerAbhishek Lekshmanan <abhishek@suse.com>
Fri, 7 Dec 2018 15:35:52 +0000 (16:35 +0100)
commit87fc958151895ecf124cae3ad15ed9ea272211e5
tree8bdc079563add5e3e8b4fe92433a2ff8f22fc11f
parentb654de9ea56ca96111f991b8321863118b9febe4
rgw: ES sync: be more restrictive on object system attrs

This commit drops system attributes like url-keys, nfs-ganesha unix keys,
encryption keys and other system attributes when uploading metadata to ES.
This also brings in a tiny change where the attribute substring is no longer
compared and we compare the whole attribute name against the constants in
rgw_common

Fixes:http://tracker.ceph.com/issues/36233
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
(cherry picked from commit 3e385c47c786ad152848b9460e1d96c6b2adf265)

src/rgw/rgw_sync_module_es.cc
conflict due to ::encode/::decode replacement in master, reverted to older version
src/rgw/rgw_sync_module_es.cc