Skip to content

LOB issue #3484

@wburzyns

Description

@wburzyns

I'm sorry to inform you that 2.1.212 has an issue related to LOB removal, probably a race condition.

After upgrading from 2.1.210 I'm experiencing a freeze during DB close right after adding more than 1000 LOBs (approx. few hundred bytes to few KB each) in a single transaction (embedded mode, single connection). It's hard to tell where the freeze happens, it seems asynchronous wrt currently running code in SessionLocal.close(): if I put less LOBs then it happens AFTER returning from Database.removeSession(); if I put more LOBs then it happens in a well-above 1000th call to LobStorageMap.doRemoveLob(), in line 'streamStoreId = tempLobMap.remove(lobId)' - the control enters MVMap.remove() but never returns.

I'm able to reproduce the issue on a large DB consisting of millions of LOBs. On an empty DB there is no repro, so I don't think I'll be able to provide you with a standalone testcase.

Regards,
wburzyns

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions