futurewei-cloud / chogori-opengauss

Other
2 stars 7 forks source link

temporarily fix the memory context issues #55

Closed johnfangAFW closed 1 year ago

johnfangAFW commented 1 year ago

1) TopMemoryContext is sealed, which led to invalid operation error on memory context while trying to modify it for k2pg. Changed to use thread local current memory context t_thrd.mem_cxt.cur_transaction_mem_cxt instead. 2) Change the resource owner error to warning since it should not block the execution at this moment. I will refactor this logic soon.

The above changes are to unblock current testing.