You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Database file's ID is used on posix in order to better detect what file is used as database's primary and avoid use of same file as 2 different databases in case of hardlinks. So far so good but in a case when databases are often created/dropped ID plays bad game for us.
ID is also used in config resolution code in order to avoid use of different per-DB configs for same database. When database with particular ID (i.e. inode number) is dropped file is also deleted and inode may be reused. Therefore we may get another database with same ID, which currently causes invalid operation of config code.
The text was updated successfully, but these errors were encountered:
Bug showed up as 'Missing security context' message that appeared randomly on different tests which for sure have no relation to authentication or user management task. Linux only.
Bug applies only to posix super / superclassic.
Database file's ID is used on posix in order to better detect what file is used as database's primary and avoid use of same file as 2 different databases in case of hardlinks. So far so good but in a case when databases are often created/dropped ID plays bad game for us.
ID is also used in config resolution code in order to avoid use of different per-DB configs for same database. When database with particular ID (i.e. inode number) is dropped file is also deleted and inode may be reused. Therefore we may get another database with same ID, which currently causes invalid operation of config code.
The text was updated successfully, but these errors were encountered: