Results 1 to 2 of 2

Thread: Freeze does not set log auto remove flag properly

  1. #1
    rGlory is offline Registered User
    Name: Vyacheslav Kononenko
    Organization: Private
    Project: Distributed Financial Application
    Join Date
    Jan 2006
    Location
    Philadelphia
    Posts
    3

    Freeze does not set log auto remove flag properly

    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@557 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

  2. #2
    mes's Avatar
    mes
    mes is offline ZeroC Staff
    Name: Mark Spruiell
    Organization: ZeroC, Inc.
    Project: Ice Developer
    Join Date
    Feb 2003
    Location
    California
    Posts
    1,441
    Hi,

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

    Regards,
    Mark

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 5
    Last Post: 01-09-2009, 11:17 PM
  2. Ice 3.3.0 slice2cpp with --header-ext flag
    By paolo in forum Bug Reports
    Replies: 1
    Last Post: 11-12-2008, 05:51 AM
  3. Replies: 1
    Last Post: 08-12-2008, 09:59 AM
  4. how can I delete log files of freeze in ice3.2.1
    By kingbo in forum Help Center
    Replies: 1
    Last Post: 01-02-2008, 01:30 AM
  5. Compiler flag -xarch deprecated in Sun Studio 12
    By Markus Bernhard in forum Help Center
    Replies: 0
    Last Post: 06-05-2007, 08:29 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •