]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/commit
Initialize threads later in constructor
authorAaron Feldman <agf@fb.com>
Tue, 7 Jul 2015 17:49:16 +0000 (10:49 -0700)
committeragiardullo <agiardullo@fb.com>
Tue, 7 Jul 2015 19:35:58 +0000 (12:35 -0700)
commit718309432bae4416dedc09240b033b442e477181
tree4ffd57c0ec19da8ccd083c073466dcfc7c7983a7
parentbc672aefb37dfe7e8f74e7c27e60a21efc1bf81e
Initialize threads later in constructor

Summary: This addresses a test failure where an exception occured in the constructor's call to CreateDirIfMissing(). The existence of unjoined threads prevented this exception from propogating properly. See http://stackoverflow.com/questions/7381757/c-terminate-called-without-an-active-exception

Test Plan: Re-run tests from task #7626266

Reviewers: sdong, anthony, igor

Reviewed By: igor

Subscribers: dhruba

Differential Revision: https://reviews.facebook.net/D41313
(cherry picked from commit e12b403991217c5472135a1e2f8faad1b915d011)
utilities/backupable/backupable_db.cc