Skip to content

IModelDb.clearCaches() should call clearECDbCache() #8776

@soham-bentley

Description

@soham-bentley

Currently, IModelDb.clearCaches does not clear the native ECDb cache.

Noted by @khanaffan here

Also as per discussion with @khanaffan TxnManager._onChangesApplied should only clear instance caches, not the entire backend cache.

Fix:
IModelDb.clearCaches() should call clearECDbCache()
TxnManager._onChangesApplied should only clear instance caches
Fix tests accordingly

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions