Skip to content
  • Peter V. Saveliev's avatar
    ndb: change the DB locking scheme · 0a8f0b8d
    Peter V. Saveliev authored
    The problem: pysqlite3 does not work with multiple threads. Even
    if the locking is implemented on the higher level, there are
    still issues with the SQL queries cache, that may be hidden, but
    nobody knows when it blows up.
    
    Here we try to sacrifice the performance in favor of the
    reliability -- the DB will be accessed from one thread only,
    all the communication will go transparently through the
    management thread.
    
    See also: 5b13e563
    0a8f0b8d