You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-01 06:46:55 +03:00
A little cleanup & added a comment to a change made earlier.
This commit is contained in:
@ -192,7 +192,6 @@ void Ownership::releaseOwnership(const bf::path &p, bool isDtor)
|
|||||||
void Ownership::_takeOwnership(const bf::path &p)
|
void Ownership::_takeOwnership(const bf::path &p)
|
||||||
{
|
{
|
||||||
logger->log(LOG_DEBUG, "Ownership: taking ownership of %s", p.string().c_str());
|
logger->log(LOG_DEBUG, "Ownership: taking ownership of %s", p.string().c_str());
|
||||||
//bf::create_directories(metadataPrefix/p);
|
|
||||||
DELETE(p, "FLUSHING");
|
DELETE(p, "FLUSHING");
|
||||||
DELETE(p, "REQUEST_TRANSFER");
|
DELETE(p, "REQUEST_TRANSFER");
|
||||||
// TODO: need to consider errors taking ownership
|
// TODO: need to consider errors taking ownership
|
||||||
@ -206,6 +205,7 @@ void Ownership::_takeOwnership(const bf::path &p)
|
|||||||
|
|
||||||
void Ownership::takeOwnership(const bf::path &p)
|
void Ownership::takeOwnership(const bf::path &p)
|
||||||
{
|
{
|
||||||
|
// If the prefix doesn't exist, ownership isn't possible yet.
|
||||||
if (!bf::is_directory(metadataPrefix/p))
|
if (!bf::is_directory(metadataPrefix/p))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user