Skip to content

Reset DataTypeTree and DataTypeManager on Session initialization#1711

Merged
kevinherron merged 1 commit intomainfrom
datatype-reset-session-initializer
Mar 28, 2026
Merged

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

Conversation

@kevinherron
Copy link
Copy Markdown
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
@kevinherron kevinherron merged commit 7dff595 into main Mar 28, 2026
6 checks passed
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