ha/service-mgmt
Bin Qian 05a01c2100 Fix SQLite3 concurrent access issue
SQLite3 does not support concurrent access with multiple connections
that have writeable access. Currently SM opens database connections
with full access, which causes concurrent issue.

This fix includes:
1. open readonly connection whenever the write permission is not needed
2. remove code that open connections that are not being used
3. remove reattempt and loggings from previous partial fix

Now all writable connections are opened and used in main thread, this
can ensure no more concurrent issue.

Closes-Bug: 1915894
Signed-off-by: Bin Qian <bin.qian@windriver.com>
Change-Id: I200647a3733ac899b0b7498abd52992c7a87bd32
2021-03-18 11:08:27 -04:00
..
sm Fix SQLite3 concurrent access issue 2021-03-18 11:08:27 -04:00
sm-common Add auto-version for remaining stx/ha packages 2020-12-17 13:27:02 -05:00
sm-db Fix SQLite3 concurrent access issue 2021-03-18 11:08:27 -04:00
LICENSE StarlingX open source release updates 2018-05-31 07:36:26 -07:00