Home Bug Reports

Freeze does not set log auto remove flag properly

rGloryrGlory Member Vyacheslav KononenkoOrganization: PrivateProject: Distributed Financial Application
Hello,

We noticed that even if property Freeze.DbEnv.<name>.OldLogsAutoDelete explicitly set to 1 old log files are not being deleted by the checkpoint procedure. Setting this flag in DB_CONFIG file fixes the issues. So problem is in following line:

SharedDbEnv.cpp[email protected] from Ice 3.4.0
_env->set_flags(DB_LOG_AUTO_REMOVE, 1);

should be instead:
_env->log_set_config(DB_LOG_AUTO_REMOVE, 1);

Then it works fine. This happens in BDB 4.7 and 4.8 (not tested with other versions)

Thanks,
Vyacheslav

Comments

  • mesmes CaliforniaAdministrators, ZeroC Staff Mark SpruiellOrganization: ZeroC, Inc.Project: Ice Developer ZeroC Staff
    Hi,

    Thanks for the bug report. We'd already discovered this issue, and it will be fixed in the next release.

    Regards,
    Mark
Sign In or Register to comment.