Thanks for your reply! Just one quick
# spicedb
p
Thanks for your reply! Just one quick question, if you don't mind: We have a readonly logical replica of spicedb's postgres database. The spicedb instance connected to that replica seems to ignore namespaces stored there. It started working when we lowered the values of created_xid in namepsace_config. The question: where does spicedb get the created_xid value to filter by from? Thanks! 🙂 edit: Would we need to run
spicedb datastore repair
on the new Postgres instance? Cheers
y
> where does spicedb get the created_xid value to filter by from it's using postgres' internal transaction counter to implement the MVCC logic required for
at_exact_snapshot
(among other features). it's not something that's otherwise externally visible unless you're specifically querying Postgres for its current transaction counter. > Would we need to run spicedb datastore repair on the new Postgres instance? Yep, that's how you fix this problem.
p
Thanks @yetitwo 🙂
13 Views