Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

modrdn operation that fails in backend txn plugin can corrupt entry cache #3297

Closed
389-ds-bot opened this issue Sep 13, 2020 · 5 comments
Closed
Labels
closed: fixed Migration flag - Issue
Milestone

Comments

@389-ds-bot
Copy link

Cloned from Pagure issue: https://pagure.io/389-ds-base/issue/50238


Issue Description

I can only reproduce the issue in a IPA deployment, but if modrdn operation fails (via memberOf plugin failing) the original entry (before the modrdn attempt) is removed from the cache, and can no longer be updated.

The issue is that we replace the original cache entry with the new modrdn'ed entry, but if we fail in backend txn postop plugins we do not undo that swap.

Package Version and Platform

Steps to reproduce

Actual results

Expected results

@389-ds-bot 389-ds-bot added the closed: fixed Migration flag - Issue label Sep 13, 2020
@389-ds-bot 389-ds-bot added this to the 1.3.9 milestone Sep 13, 2020
@389-ds-bot
Copy link
Author

389-ds-bot commented Sep 13, 2020

Comment from mreynolds (@mreynolds389) at 2019-02-22 19:53:53

#3298

@389-ds-bot
Copy link
Author

Comment from mreynolds (@mreynolds389) at 2019-02-22 19:53:53

Metadata Update from @mreynolds389:

  • Custom field origin adjusted to None
  • Custom field reviewstatus adjusted to review

@389-ds-bot
Copy link
Author

Comment from mreynolds (@mreynolds389) at 2019-02-23 13:15:51

Metadata Update from @mreynolds389:

@389-ds-bot
Copy link
Author

Comment from mreynolds (@mreynolds389) at 2019-02-26 15:34:07

commit b30295a

ea24c43..a063984 389-ds-base-1.4.0 -> 389-ds-base-1.4.0

70117f5..1bdf627 389-ds-base-1.3.9 -> 389-ds-base-1.3.9

@389-ds-bot
Copy link
Author

Comment from mreynolds (@mreynolds389) at 2019-02-26 15:34:08

Metadata Update from @mreynolds389:

  • Issue close_status updated to: fixed
  • Issue status updated to: Closed (was: Open)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed: fixed Migration flag - Issue
Projects
None yet
Development

No branches or pull requests

1 participant