You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-12-12 11:01:17 +03:00
Fixed a couple bugs in S3Storage.
- there was no closing of any file descriptors (!!) - there was the typo in the connection pruning code s.t. nothing would get pruned. - added -lm to the libmarias3 stuff, was getting a linker error, not sure why.
This commit is contained in:
@@ -364,7 +364,7 @@ void Cache::deletedObject(const string &key, size_t size)
|
||||
boost::unique_lock<boost::recursive_mutex> s(lru_mutex);
|
||||
assert(currentCacheSize >= size);
|
||||
M_LRU_t::iterator mit = m_lru.find(key);
|
||||
assert(mit != m_lru.end());
|
||||
assert(mit != m_lru.end()); // TODO: 5/16/19 - got this assertion using S3 by running test000, then test000 again.
|
||||
assert(doNotEvict.find(mit->lit) == doNotEvict.end());
|
||||
lru.erase(mit->lit);
|
||||
m_lru.erase(mit);
|
||||
|
||||
Reference in New Issue
Block a user