Posts

Showing posts from August, 2016

COMPACT -REPLICA CAUSE LOSS OF DATA IF USER MODIFY DURING COMPACT

In this Technote IBM warns using "compact -replica" during online mode !!


Compact -Replica lose document data if user modify the document
during compaction.

Steps to reproduce:

1. Prepare discussion database

2. add about 10 documents with attachment (attachment size is about 1MB - 4MB). In my test. doc # is 10 and db size is 53MB.

3. Keep the database open by Notes client and perform "load compact -replica xxx.nsf".

4. If you see the following console output, Update any document's title right away.
>drop xxx.nsf

5. Compact -replica fails with the following error.
> Error compacting disc.nsf,  -replica disc.nsf: Database is
currently in use by you or another user

6. Add a document and add any attachment.

7. Close the database.

Repl file is remains. nsf file is bigger than repl file because
I add a document with a big attachment.

8 Open the database again by Notes client. In Domino Server, it will start compact -replica -restart will perform automatically. However it will …