Hi, Read requests by default goes to PRIMARY node until readFromBackup is true that allow to read local backup data. Write requests always applies on PRIMARY node first then primary node send request to backup nodes. The main difference between FULL and PRIMARY sync modes is that with second write response will be sent back from PRIMARY to client without waiting updates on backups.
On Mon, Oct 30, 2017 at 9:35 PM, John Wilson <[email protected]> wrote: > Hi, > > 1. Assume I write data item X with a FULL_ASYNC write synchronization > mode, what happens if I immediately attempt to read X? Will I read an old > value or do I wait till the previous writes are completed? > 2. If the write mode is PRIMARY_ASYNC, will the immediate read operations > on X get answered just the primary node or will I read an old value or wait > for the previous write to complete? > 3. During backups, do the backup nodes get data from the client or from > the primary node? > > Thanks, > -- Best regards, Andrey V. Mashenkov
