Bug 359261

Summary: Multile nsviewfilter's in multi-master replication can crash server if deleted.
Product: [Retired] 389 Reporter: Brian Junker <bjunker>
Component: Personalized ViewsAssignee: Rich Megginson <rmeggins>
Status: CLOSED DUPLICATE QA Contact: Chandrasekar Kannan <ckannan>
Severity: low Docs Contact:
Priority: low    
Version: 7.1CC: benl
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-10-31 15:19:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Brian Junker 2007-10-30 21:37:21 UTC
If you have the following setup in a multi-master replication:

dc=acme,dc=test
|
|
+--Clovis
   |
   |
   +--Finance

ou=Clovis,dc=acme,dc=test
	objectClass: nsview
	nsviewfilter: (l=Clovis)

ou=Finance,ou=Clovis,dc=acme,dc=test
	objectClass: nsview
	nsviewfilter: (departmentNumber=finance)

If you delete the Finance OU under the Clovis OU, the server will crash.

Comment 1 Rich Megginson 2007-10-30 21:47:28 UTC
Does it crash if you don't use multi-master?

Comment 2 Brian Junker 2007-10-30 22:39:58 UTC
No, it does not.  Only when you have multi-master.

Comment 3 Rich Megginson 2007-10-31 15:19:58 UTC
I think this has been fixed as part of
https://bugzilla.redhat.com/show_bug.cgi?id=288291 which was also a crash
related to view filters.  This what I did:
* create two masters m1 and m2
* init m1 from Example.ldif
* create repl agreements and init m2 from m1
* verify that repl is working
* add ou=Clovis to m1 - verify that it gets replicated to m2
* add ou=Finance to  m1 - verify that it gets replicated to m2
* delete ou=Finance - verify that it gets replicated to m2

These steps on Fedora DS 7.1 crash m1.  This all works fine on Fedora DS 1.1
(current CVS HEAD code).

*** This bug has been marked as a duplicate of 288291 ***