Das Notes Forum

Domino 9 und frühere Versionen => ND8: Administration & Userprobleme => Thema gestartet von: eknori (retired) am 29.01.10 - 09:51:44

Titel: DAOS interpreted "mail" as "on".
Beitrag von: eknori (retired) am 29.01.10 - 09:51:44
Technote : 1410926

Zitat
Running "load compact -c -daos mail" enables DAOS on all databases.  It would be expected that the compact would have only ran on the mail subdirectory.  Why did this happen?

In this case, the <ON/OFF> parameter required with DAOS was accidentally omitted. The correct syntax for the command would be the following:
load compact -c -daos on mail

 The compact command does not verify parameter passed with daos parameter and thus interpreted "mail" as "on".

Jetzt können die Admin wieder über die Entwickler schimpfen.

Hier wurde offensichtlich ein beliebter Fehler gemacht

Pseudocode:

if NOT arg[n] = "off" then
Parameter = "on"
end if

und schon geht das in der beschriebenen Weise in die Hose. *sigh*