Notes.ini Entry



Name:

    Debug_Enable_LZ1_Host_Types

Syntax

    Debug_Enable_LZ1_Host_Types=0 / 1

Applies to:

    Servers

Add-on:


    First Release:

      8.0.2

    Obsolete since:


      Category:

        Administration

      Default:

        None

      UI equivalent:

        None

      Description:
      Compact -ZU can be used to re-compress attachments in a database. This is extremely useful when moving a database to LZ1.

      This option is around for a while (since D6.5) but has been changed a couple of times.

      You should only use this in Domino 8.x and above because that will allow to re-compress attachments that have no compression or huffman compression before.

      What is happening in the back-end is that all note types are searched for attachments to compress.

      This also includes attachments for Java applets. The applet itself is not converted to LZ1 because it has already a good compression level. But the assoicated attachments in the design element are re-recompressed to LZ1.

      There is no way to change the attachment back to "not compressed" beside replacing the design of the database. This should recover the problem.

      To prevent the problem when using the -ZU switch there is a work-around that will be listed in a TN shortly (we got TN #1370344 created by support based on my additional problem report).

      Normal attachments have the host type HOST_MSDOS = 0. The Java files have a different host type (HOST_STREAM).

      If you set the notes.ini variable DEBUG_ENABLE_LZ1_HOST_TYPES=0 only normal attachments are re-compressed and the problem should not occur any more.

      The current information for the planned fix (subject to change) is to only re-compress attachments in documents (NOTE_CLASS_DOCUMENT) because there might be other Host Types in documents which could benefit from re-compression).

      But the work-around above should already give you re-compression of most of the attachments and makes it save again to run compact -ZU.

      So as a best practice for Domino 8.5 and 8.0.2 you should set this notes.ini parameter. Once the SPR has been fixed and you are running an updated version you should remove this parameter.