diff --git a/replica/table.cc b/replica/table.cc index 65b41e014dac..5d69d7d366b4 100644 --- a/replica/table.cc +++ b/replica/table.cc @@ -2467,8 +2467,9 @@ std::vector table::affected_views(shared_ptr& ms) { - // Overhead of sending a view mutation, in terms of data structures used by the storage_proxy. - constexpr size_t base_overhead_bytes = 256; + // Overhead of sending a view mutation, in terms of data structures used by the storage_proxy, as well as possible background tasks + // allocated for a remote view update. + constexpr size_t base_overhead_bytes = 2288; return boost::accumulate(ms | boost::adaptors::transformed([] (const frozen_mutation_and_schema& m) { return m.fm.representation().size(); }), size_t{base_overhead_bytes * ms.size()});