MMBase

Serialization can corrupt MMBase database

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Critical Critical
  • Resolution: Cannot Reproduce
  • Affects Version/s: 1.8.3
  • Fix Version/s: 1.8.6
  • Component/s: Core
  • Description:
    Hide
    When MMBase serializes the bridge cloud when closing an application server, there is a risk that it restarts MMBase while doing so. For some raeson, the restarted MMAbse does not recognize buidlers already present in the typedef builder, and starst making new records, assigning new objecttypes.
    This corrupts the database (specifically the typedef, versions, and daymerks tables) with false data.
    After restart MMBase may use the wrong otypes, and can then not properly access data.
    On some environments this happens after every server restart - the cause is unclear.

    For the moment, I turned off serialization by making Cloud unserializable. This at least prevents the corruption, though ofcourse serialization no longer works.
    Show
    When MMBase serializes the bridge cloud when closing an application server, there is a risk that it restarts MMBase while doing so. For some raeson, the restarted MMAbse does not recognize buidlers already present in the typedef builder, and starst making new records, assigning new objecttypes. This corrupts the database (specifically the typedef, versions, and daymerks tables) with false data. After restart MMBase may use the wrong otypes, and can then not properly access data. On some environments this happens after every server restart - the cause is unclear. For the moment, I turned off serialization by making Cloud unserializable. This at least prevents the corruption, though ofcourse serialization no longer works.
  • Environment:
    Tomcat 5

Issue Links

Activity

Pierre van Rooden made changes - 2007-03-01 09:54
Field Original Value New Value
Priority Major [ 3 ] Critical [ 2 ]
Michiel Meeuwissen made changes - 2007-03-01 10:35
Link This issue is related to MMB-1370 [ MMB-1370 ]
Michiel Meeuwissen made changes - 2007-03-29 17:46
Fix Version/s 1.8.4 [ 10140 ]
Assignee MMBase Project Leader [ mmbaseleader ] Pierre van Rooden [ gomez ]
Henk Hangyi made changes - 2007-05-10 15:28
Fix Version/s 1.8.5 [ 10145 ]
Fix Version/s 1.8.4 [ 10140 ]
Michiel Meeuwissen made changes - 2007-11-28 11:54
Fix Version/s 1.8.6 [ 10156 ]
Fix Version/s 1.8.5 [ 10145 ]
Michiel Meeuwissen made changes - 2008-07-16 22:12
Status Open [ 1 ] Resolved [ 5 ]
Resolution Cannot Reproduce [ 5 ]

People

Dates

  • Created:
    2007-03-01 09:51
    Updated:
    2008-07-16 22:13
    Resolved:
    2008-07-16 22:12