-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Don't delay internally generated writes #4358
Comments
@eliransin ping. |
@vladzcloudius We still haven't started this. But take into account that this issue states that the |
@eliransin I think the issue is not in a contradiction with my other request: the issue is talking about view updates and view hints while I was talking about base table hints. Regular and view hints are not the same to begin with - they have different context and maybe we need to treated differently, including what this issue is talking about. More importantly this issue is mainly not about view hints but more about view updates and my previous question as for the status of this issue was absolutely NOT related to hints being out of MV backpressure scope. |
@eliransin Ping. Do you still think that this issue is relevant? If yes, let's define it a priority, if not - let's close it. |
This has been suggested elsewhere as a possible alternative to view backpressure handling @gleb-cloudius @nyh @wmitros @piodul and doesn't need to be tracked separately. |
@kostja I'm in favor of closing this issue, but not for the reason you mentioned (which I don't understand). Rather, the original issue seems to suggest that "view updates" and "hints" experience the MV flow control sleep. But I think it's not true for "view updates" (since views don't have views of their own), and for base-table hints perhaps it is true - but it sounds like a good idea, since they create view updates, should indeed have the usual flow control - we don't want a million hints replayed to generate a backlog of a million unfinished view updates. |
From what I've seen in testing, currently the mv flow control does delay view updates as well, which I think was the focus of this issue and I believe it is currently a bug (why make existing view updates keep resources longer when we're trying to make them use less resources) |
In the context of the MV backpressure algorithm, writes are delayed based on the target base replica's view update backlog, with the aim to lower the rate at which the client is sending. However, some of these writes are internal, such as view updates themselves and hints. Those should not be delayed by the
storage_proxy
.The text was updated successfully, but these errors were encountered: