Igniters,

I want to re-iterate idea of changing default synchronization mode from
PRIMARY_SYNC to FULL_SYNC.

Motivation:
1) If user set [cacheMode=PARTITIONED, backups=1] he still could loose data
silently. Because primary node could report success to the client and then
crash before data is propagated to backups.
2) If user set [cacheMode=REPLICATED] and use SQL, he will might get
invalid results if cache is being updated concurrently - well known issue.

The only advantage of PRIMARY_SYNC is slightly better performance, but we
should prefer correctness over performance.

Proposed changes:
1) Make FULL_SYNC default;
2) Print a warning about possibly incorrect SQL results if REPLICATED cache
is started in PRIMARY_SYNC mode.

Thoughts?

Vladimir.

Reply via email to