This repository was archived by the owner on Mar 24, 2022. It is now read-only.
Releases: vmware-archive/gpos
Releases · vmware-archive/gpos
v1.147
v1.146
Remove whole banning mechanism from gpos [#133570595] gpos has a set of banned API calls which needs to be allowed with the ALLOW_xxx macro in order for gpopt to compile. But I think it is the library caller(GPDB/Orca)'s resposibility to take care of the function call.
v1.145
Remove unused socket code, and ioutils::SzMkTemp function.
ioutils::SzMkTemp called mktemp(), which is a security risk. That caused
a compiler warning. The only thing that used ioutils::SzMkTemp was the
test code for CSocket, but all the socket code was unused anyway, so just
remove the whole lot.
I was also getting a warning/error on strict aliasing:
/home/heikki/gpdb/gpos/server/src/unittest/gpos/net/CSocketTest.cpp:549:27: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
GPOS_ASSERT((*(ULONG *) szRecv) == pinitUds->m_ulId);
^
So that's another small reason to get rid of this.
v1.144
Fix GPDB/GPOS crash in debug builds In Debug builds of GPDB, we try and shutdown the MDCache manually from TerminateGPOPT. Accessing the SyncHashTable of the MDCache rquires acquiring a spln lock, and to acquire that spin lock, we need a PwrkSelf() worker object to make sure we don't deadlock etc. However at this point all workers (created during OptimizerQuery) have been cleaned up, and so IWorker::PwrkrSelf() returns NULL. This check is mute if there is no worker, so we should guard against that case. Closes #30