Skip to content

Reset DataTypeTree and DataTypeManager on Session initialization#1711

Open
kevinherron wants to merge 1 commit intomainfrom
datatype-reset-session-initializer
Open

Reset DataTypeTree and DataTypeManager on Session initialization#1711
kevinherron wants to merge 1 commit intomainfrom
datatype-reset-session-initializer

Conversation

@kevinherron
Copy link
Contributor

@kevinherron kevinherron commented Feb 26, 2026

Reset the DataTypeTree, dynamic DataTypeManager, and dynamic EncodingContext automatically when a new session is initialized.

These caches are lazily populated by browsing and reading from the connected server. When a client reconnects — whether by creating a new session or reactivating an existing one — the server's type system may no longer match what was cached. Custom DataTypes may have been added, removed, or modified, DataTypeDefinition attributes may have changed, namespace indices may have shifted, or the client may have reconnected to an entirely different server in a redundancy configuration.

@kevinherron kevinherron added this to the 1.1.2 milestone Feb 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant