Repository navigation
rgw: don't start the bucket notification thread in radosgw-admin - #50403
Conversation
There was a problem hiding this comment.
i think this should be true instead. RGWRealmReloader only runs under rgw::AppMain, which isn't used by radosgw-admin. if we initialized the store with run_notification_thread=true, we should reload it with the same
There was a problem hiding this comment.
i'd like to get in the habit of using member initializers instead of constructors for this, even if it's not consistent with other member variables in the class
There was a problem hiding this comment.
i'd like to get in the habit of using member initializers instead of constructors for this,
agree
even if it's not consistent with other member variables in the class
i have to disagree here, as it would unnecessarily raise a question by someone reading the code - "why is that member different than the other?"
There was a problem hiding this comment.
i'd just like to be able to make incremental progress. if you'd like to replace all of these with member initializers, that's great too but it does add unrelated changes to the diff
There was a problem hiding this comment.
see: b1c4b7c471cbf3eada502a74764ffc6aac71df5b
Signed-off-by: Yuval Lifshitz <[email protected]>
27bf0e6 to
b1c4b7c
Compare
There was a problem hiding this comment.
just personal preference, but i liked the original RGWGC* gc = nullptr; style better
There was a problem hiding this comment.
agree that the assignment looks nicer. but decided to follow the "core guidelines" style.
though it does not matter in the above code, in genral curly bracets init is considered safer (does not allow narrowing)
b1c4b7c to
a94f5b3
Compare
Checklist
Show available Jenkins commands
jenkins retest this pleasejenkins test classic perfjenkins test crimson perfjenkins test signedjenkins test make checkjenkins test make check arm64jenkins test submodulesjenkins test dashboardjenkins test dashboard cephadmjenkins test apijenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume toxjenkins test windows