Stefan Seelmann created DIRSERVER-2348:
------------------------------------------

             Summary: Mavibot partition data disappears
                 Key: DIRSERVER-2348
                 URL: https://issues.apache.org/jira/browse/DIRSERVER-2348
             Project: Directory ApacheDS
          Issue Type: Bug
          Components: backend, mavibot
    Affects Versions: 2.0.0.AM26
         Environment: ArchLinux
OpenJDK 1.8.0_292
ApacheDS 2.0.0.AM26
            Reporter: Stefan Seelmann


Start a new ApacheDS 2.0.0.AM26 (tar.gz archive on Linux)

Create a connection in Studio 2.0.0.M16, open the ApacheDS configuration, add a 
partition type:Mavibot with id:mavibot and suffix:dc=mavibot,dc=com, and save.

Observations:
* The new config is visible in the config partition: 
ads-partitionId=mavibot,ou=partitions,ads-directoryServiceId=default,ou=config 
(expected).
* The namingContext doesn't yet exist in the Root DSE (expected).
* The partition directory instances/default/partitions doesn't exist yet 
(expected).

Restart ApacheDS.

Observations:
* The partition directory {{instances/default/partitions/mavibot}} and a 
{{mavibot.db}} was created (expected).
* The {{namingContext:dc=mavibot,dc=com}} exists in the RootDSE (expected)
* The context entry does not exist, despite configured (unexptected!)

Inject the context entry and some other data

{noformat}
dn: dc=mavibot,dc=com
objectclass: domain
objectclass: top
dc: mavibot
{noformat}

Observations:
* The data is there, even after close/open the connection (expected)
* The partition file {{instances/default/partitions/mavibot/mavibot.db}} grow 
and has a recent modification time (expected)

Restart ApacheDS

Observations:
* The partition file {{instances/default/partitions/mavibot/mavibot.db}} is 
still there, has the same size, but the modification time changed (expected)
* The {{namingContext:dc=mavibot,dc=com}} still exists in the RootDSE (expected)
* The context entry is gone (unexpected!)


Context: 
https://lists.apache.org/thread.html/r6142d8abfaf233401ffdc3e96160a3a1b2c38beab24f958757311b20%40%3Cdev.directory.apache.org%3E





--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org
For additional commands, e-mail: dev-h...@directory.apache.org

Reply via email to