Commit 88155c17 authored by Kirill Smelkov's avatar Kirill Smelkov

X Fix for btree embedded bucket going away after deactivate

then on next activation zconn tries to reload oid=ffffffff and oops.
parent 85658a2c
......@@ -257,6 +257,9 @@ func (obj *Persistent) PDeactivate() {
if obj.state >= CHANGED {
return
}
if obj.oid == InvalidOid { // newly created not-yet committed object // TODO tests
return
}
// TODO try to keep some pool of object in live state so that there is
// no constant load/unload on object access. XXX -> MRU cache?
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment