You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Node.js Client doesn't sort field names during compact schema creation [API-2376] #1576
The compact Schema class doesn't sort all of its fields by name before creating the Rabin fingerprint.
Node.js client sorts the fields by field name while writing it, but that's too late, Rabin fingerprint is already calculated.
That causes the possibility of having two different Rabin fingerprints for two Schemas with the same fields in different order.
Expected behavior
Schema objects with the same fields must have the same Rabin fingerprint, regardless of their order in the schama.
Java, Go, .Net, and Python client libraries sort the fields by their names during Schema initialization.
To Reproduce
The following two code samples must produce the same Rabin fingerprint.
changed the title [-]Node.js Client doesn't sort field names during compact schema creation[/-][+]Node.js Client doesn't sort field names during compact schema creation [API-2376][/+]on Feb 5, 2026
Activity
github-actions commentedon Feb 5, 2026
Internal Jira issue: API-2376
[-]Node.js Client doesn't sort field names during compact schema creation[/-][+]Node.js Client doesn't sort field names during compact schema creation [API-2376][/+][HZ-5348] Sort fields in compact schema by name (hazelcast#1577)