Project

General

Profile

Bug #37646

rgw: sync module: avoid verbose attr logging for objects

Added by Abhishek Lekshmanan 6 months ago. Updated 2 months ago.

Status:
Resolved
Priority:
Normal
Target version:
-
Start date:
12/13/2018
Due date:
% Done:

0%

Source:
Tags:
Backport:
mimic, luminous
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

Description

Currently for every object at debug level 20 we try to print the bufferlist of attrs in log which is very long and not necessary. eg sgment

2018-12-13 15:48:30.650 7f7ea9ba3700 20 cr:s=0x559cee604940:op=0x559ced18cc00:27RGWElasticHandleRemoteObjCR: operate()
2018-12-13 15:48:30.650 7f7ea9ba3700 20 stat of remote obj: z=12cc4b0d-95c4-4848-ab12-1e7c55268011 b=bucket1[12cc4b0d-95c4-4848-ab12-1e7c55268011.14333.1] k=foo size=0 mtime=2018-12-13 15:48:27.0.104885s attrs={user.rgw.acl=buffer::list(len=147,
    buffer::ptr(0~147 0x559cedfabf00 in raw 0x559cedfabf00 len 151 nref 1)
),user.rgw.etag=buffer::list(len=32,
    buffer::ptr(0~32 0x559cee716a20 in raw 0x559cee716a20 len 37 nref 1)
),user.rgw.idtag=buffer::list(len=48,
    buffer::ptr(0~48 0x559cec533660 in raw 0x559cec533660 len 52 nref 1)
),user.rgw.pg_ver=buffer::list(len=8,
    buffer::ptr(0~8 0x559ced32d250 in raw 0x559ced32d250 len 13 nref 1)
),user.rgw.source_zone=buffer::list(len=4,
    buffer::ptr(0~4 0x559ced32ca00 in raw 0x559ced32ca00 len 10 nref 1)
),user.rgw.tail_tag=buffer::list(len=48,
    buffer::ptr(0~48 0x559cec532620 in raw 0x559cec532620 len 52 nref 1)
),user.rgw.x-amz-content-sha256=buffer::list(len=17,
    buffer::ptr(0~17 0x559cee205c80 in raw 0x559cee205c80 len 22 nref 1)
),user.rgw.x-amz-date=buffer::list(len=17,
    buffer::ptr(0~17 0x559cee207800 in raw 0x559cee207800 len 22 nref 1)
)} headers={ACCEPT_RANGES=bytes,CONTENT_LENGTH=1229,CONTENT_TYPE=binary/octet-stream,DATE=Thu, 13 Dec 2018 14:48:30 GMT,ETAG="d41d8cd98f00b204e9800998ecf8427e",LAST_MODIFIED=Thu, 13 Dec 2018 14:48:27 GMT,RGWX_EMBEDDED_METADATA_LEN=1229,RGWX_MTIME=1544712507.104885353,RGWX_OBJECT_SIZE=0,RGWX_OBJ_PG_VER=0,RGWX_SOURCE_ZONE_SHORT_ID=4165954736,X_AMZ_REQUEST_ID=tx00000000000000000049b-005c12713e-37f7-default}
2018-12-13 15:48:30.650 7f7ea9ba3700 20 cr:s=0x559cee604940:op=0x559ced18d700:29RGWElasticHandleRemoteObjCBCR: operate()

Related issues

Copied to rgw - Backport #38671: luminous: rgw: sync module: avoid verbose attr logging for objects Resolved
Copied to rgw - Backport #38672: mimic: rgw: sync module: avoid verbose attr logging for objects Resolved

History

#1 Updated by Abhishek Lekshmanan 6 months ago

  • Backport set to mimic, luminous

#2 Updated by Abhishek Lekshmanan 6 months ago

  • Subject changed from rgw: es: avoid verbose attr logging for objects to rgw: sync module: avoid verbose attr logging for objects

#3 Updated by Abhishek Lekshmanan 3 months ago

  • Status changed from New to Pending Backport
  • Pull request ID set to 25541

#4 Updated by Nathan Cutler 3 months ago

  • Copied to Backport #38671: luminous: rgw: sync module: avoid verbose attr logging for objects added

#5 Updated by Nathan Cutler 3 months ago

  • Copied to Backport #38672: mimic: rgw: sync module: avoid verbose attr logging for objects added

#6 Updated by Nathan Cutler 2 months ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF