#48263 allow plugins to detect tombstone operations
Closed: wontfix None Opened 6 years ago by lkrispen.

Currently there is aninconsitent behaviour if plugins are called when a tombstone entry is deleted.
pre and post op are called
be_pre and be_post are not called
be_txn are called

If this is not to be changed, then at least it should be easier for a plugin to detect if it is a tombstone by calling:

operation_is_flag_set(op, OP_FLAG_TOMBSTONE_ENTRY))

but OP_FLAG_TOMBSTONE_ENTRY is not defined in slapi-plugin.h

after discussion in devel team, the call mechanism for plugins shouldn't be changed for a special case, but exposing flag and allowing plugins easily to detect is acceptable.
changed ticket synopsis accordingly

committed to master:
commit d2b3236

committed to 1.3.4:
commit 9fcec09

Metadata Update from @lkrispen:
- Issue assigned to lkrispen
- Issue set to the milestone: 1.3.5 backlog

4 years ago

389-ds-base is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in 389-ds-base's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/389ds/389-ds-base/issues/1594

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Metadata Update from @spichugi:
- Issue close_status updated to: wontfix (was: Fixed)

a year ago

Login to comment on this ticket.