Igor Canadi 4209516359 Schedule flush when waiting on flush
Summary:
This will also help with avoiding the deadlock. If a flush failed and we're waiting for a memtable to be flushed, we should schedule a new flush and hope a new one succeedes.

If paranoid_checks = false, Wait() will still hang on ENOSPC, but at least it will automatically continue when the space frees up. Current behavior both hangs and deadlocks.

Also, I renamed some 'compaction' to 'flush'. 'compaction' was leveldb way of saying things.

Test Plan: make check

Reviewers: dhruba, haobo, ljin

Reviewed By: haobo

CC: leveldb

Differential Revision: https://reviews.facebook.net/D16281
2014-02-25 12:04:14 -08:00
..
2014-02-24 15:15:34 -08:00
2014-02-25 10:32:28 -08:00
2014-02-25 10:43:46 -08:00
2014-02-14 16:18:55 -08:00
2013-10-25 08:32:14 -07:00
2014-01-29 20:40:41 -08:00
2014-01-29 20:40:41 -08:00
2014-01-27 14:49:10 -08:00
2014-01-27 14:49:10 -08:00
2014-01-27 14:49:10 -08:00
2014-02-12 11:42:54 -08:00
2014-02-12 11:42:54 -08:00
2014-01-17 12:46:06 -08:00
2014-02-12 11:42:54 -08:00
2014-01-30 22:10:10 -08:00
2014-01-23 16:26:08 -08:00
2014-02-12 11:42:54 -08:00