05a01c2100de3108d0a8ac757f0939d5c61fedcb

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
ha
StarlingX Service Management
Description
Languages
C
70.2%
Python
18.5%
Shell
7.6%
C++
3.3%
Makefile
0.4%