Setting 'write_data_on_find' to true to ensure merging of views (#41401)

Closes #41390

Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
This commit is contained in:
Alexander Schwartz 2025-07-25 13:22:15 +02:00 committed by GitHub
parent 089975417b
commit dcba51c0af
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -194,7 +194,10 @@ public final class JGroupsConfigurator {
"delete_single_sql", String.format("DELETE from %s WHERE address=?", tableName),
"insert_single_sql", String.format("INSERT INTO %s values (?, ?, ?, ?, ?)", tableName),
"select_all_pingdata_sql", String.format("SELECT address, name, ip, coord FROM %s WHERE cluster_name=?", tableName),
// This guarantees cleanup of stale data
"remove_all_data_on_view_change", "true",
// This guarantees that merging happens even after the info writer completed
"write_data_on_find", "true",
"register_shutdown_hook", "false",
"stack.combine", "REPLACE",
"stack.position", udp ? "PING" : "MPING"