Mika Heinonen's Blog
Counter
1509

xcompact Public Beta 1
Friday, 12 August 2005 23:18:21 EET

Here you go, it's still "very" beta, but now I need the experience and input from beta testers, as I could not find theoretically any problems with it.

For now, the "all database" compact has been secured behind the "-a" option, as opposed to Domino's ncompact which does the "all database" compact when it's called without parameters. This is just for beta security, and may change in the final release.
The usage is like it gives from the command line:
If you get some error messages (I've put error messages basically everywhere), it will help me to track the specific error down, and fix it for Beta 2.

I wish you all happy testing, here it is:
xcompact 1.0 Beta 1 (12 Aug 2005)
You can put it either in the Notes/Domino program directory, or in a non-OS-path directory, but then you must change your current working directory to your Notes/Domino program directory and call it from there, this is how all C API programs work anyway.
Please note that Beta 1 phase will end 2006-01-01 and this program will not run after that date anymore.


Mika Heinonen
Thursday, 18 August 2005 00:25:50 EET
Bug #1
When deleting all documents from a replica, then running xcompact, and then replicating the databases, the original documents will come back from the other replica, although they should be deleted in the other replica. Solution to fix this bug is already known, and will be included in Beta 2.

kurt
Thursday, 18 August 2005 21:00:42 EET
Mika,

Nice and fast ...but it breaks the unread mark tables
all the mail returns unread
spec :
beta 7 client v4

Mika Heinonen
Thursday, 18 August 2005 22:24:25 EET
Thanks for your feedback, Kurt.
I think this is also related to the same problem as I found in Bug #1.
If all goes well, Beta 2 will be available later on today, or early tomorrow.

Gary
Thursday, 03 November 2005 09:27:53 EET
Server: R7.0, Client: R7.0, Mail Template: OpenNTF ME 1.7

I put xcompact in the server's Notes folder and ran it against my own mail file.

It did a great job on my mail file but...

1. Reset all the unread marks
2. Deactivated my mail rules
3. Every 60 seconds the following message appeared on the console: Process d:\notes\xcompact.EXE (12428/0x308C) has terminated abnormally. I had to restart Domino to terminate the message.

Mika
Monday, 03 April 2006 22:32:06 EET
I think I have fixed most of those instability issues in Beta 2 (by adding all kind of possible checks), but the handling of Notes unread marks seems way too complicated considering that in web applications you want to disable the unread marks anyway, and do an web unread marks logic instead.

Although I have an idea how to keep Notes unread marks intact, it's not on the top priority list. The unread mark handling is not part of the standard C API, and has to be "written yourself" using a somewhat difficult and slow algorithm.

In first place I want this to be an tool to really compact domino databases, where Domino's own compact fails.