The following getters are only valid after Init() and should be called only from the backend execution (ie. not the coordinator side, since they require holding an backend resource refcnt).
| 183 | /// the backend execution (ie. not the coordinator side, since they require holding |
| 184 | /// an backend resource refcnt). |
| 185 | ReservationTracker* buffer_reservation() const { |
| 186 | DCHECK_GT(backend_resource_refcnt_.Load(), 0); |
| 187 | return buffer_reservation_; |
| 188 | } |
| 189 | InitialReservations* initial_reservations() const { return initial_reservations_; } |
| 190 | TmpFileGroup* file_group() const { |
| 191 | DCHECK_GT(backend_resource_refcnt_.Load(), 0); |