| 1 | --- |
| 2 | features: |
| 3 | - | |
| 4 | Add a new parameter named ``synchronous_reader`` for sqlalchemy backend so |
| 5 | an operator can choose from configuration file if reader context should |
| 6 | be synchronous or not. |
| 7 | When ``synchronous_reader`` is set to ``True`` (the default), a database |
| 8 | reader context will guarantee it can read data from a writer context by |
| 9 | reusing the same ``connection`` parameter, thus ignoring the |
| 10 | ``slave_connection`` parameter. |
| 11 | When ``synchronous_reader`` is set to ``False``, a database reader context |
| 12 | works the same as an async_reader and will select the ``slave_connection`` |
| 13 | parameter to connect to the database if present. |
| 14 | When setting this parameter to ``False``, make sure your cluster lag is |
| 15 | not a problem or set ``mysql_wsrep_sync_wait`` accordingly. |