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
I noticed that for every policy I get one entry in the policies table and one entry in the policy_rules table. If I delete the policy, the entry from the policies table is removed, but not from the policy_rules table. As I create and delete many many policies I have a table that grows and grows.
To Reproduce
create a policy
check size of policies table, it grows by 1
check size of policy_rules table, it grows by 1
delete policy
check size of policies table, it shrinks by 1
check size of policy_rules table, it NOT shrinks by 1
Expected behavior
I expect to not have a table that grows forever.
Are you using NetBird Cloud?
no
NetBird version
0.32.0
The text was updated successfully, but these errors were encountered:
/var/lib/netbird $ sqlite3 store.db
SQLite version 3.45.3 2024-04-15 13:34:05
Enter ".help" for usage hints.
sqlite> PRAGMA foreign_keys;
0
should I need to change sqlite settings myself? Can I just safely do that? I thought maybe there is some other good reasons why the policy_rules are kept?!
Describe the problem
I noticed that for every policy I get one entry in the
policies
table and one entry in thepolicy_rules
table. If I delete the policy, the entry from thepolicies
table is removed, but not from thepolicy_rules
table. As I create and delete many many policies I have a table that grows and grows.To Reproduce
Expected behavior
I expect to not have a table that grows forever.
Are you using NetBird Cloud?
no
NetBird version
0.32.0
The text was updated successfully, but these errors were encountered: