Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
In postModify* hooks like postModifyX(..., Descriptor newDesc), there's no way of getting the old descriptor which was there before modification happened.
Having both old and new descriptors will make the hooks more useful.
We felt the need when we wanted to audit certain events but there was no way of deducing them by just seeing 'after-state' of modification.
To keep the method signatures consistent, i have modified both pre and post hooks with new arguments which are well named and commented.
Attachments
Attachments
Issue Links
- is required by
-
HBASE-20594 provide utility to compare old and new descriptors
- Resolved
- links to