Setting 'write_data_on_find' to true to ensure merging of views

Closes #41390

Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
This commit is contained in:
Alexander Schwartz
2025-07-24 16:25:08 +02:00
committed by GitHub
parent dd17f7d811
commit 8d8ed924c4

View File

@@ -219,7 +219,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"