Files
scylladb/core
Tomasz Grabiec 6fa3212888 core: fix missing error propagation when intermediate future is involved
Test case (added in the next patch):

    promise<> p1;
    promise<> p2;

    auto f = p1.get_future().then([f = std::move(p2.get_future())] () mutable {
        return std::move(f); // this future will fail
    }).then([] {
        // never reached, that's ok
    });

    p1.set_value();
    p2.set_exception(std::runtime_error("boom"));

    // f should get resolved eventually with error, but was not
2014-10-01 13:45:28 +02:00
..
2014-09-16 18:48:14 +03:00
2014-09-23 18:57:11 +03:00
2014-09-10 13:44:46 +03:00
2014-09-14 15:57:39 +03:00
2014-09-30 10:43:01 +03:00
2014-09-23 18:57:11 +03:00