-
Notifications
You must be signed in to change notification settings - Fork 535
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
Add odsp driver support to upload container type summary #9671
Conversation
⯅ @fluid-example/bundle-size-tests: +115 Bytes
Baseline commit: 5681a58 |
Regarding |
supporting a big matrix of unshipped features is not great. i'm fine if we just switch the server behavior. just let use know when you assume includesProtocolTree means container upload and we'll make the switch too. maybe do a server side flag, and we'll just coordinate rollout as none of this is in prod. |
The issue I'm facing is that the server needs to know what kind of tree the client uploaded. There are a total of 3 cases:
The server has to run different logic depending on each case:
The server submits a summaryAck after processing the summary in each case. The server knows case 1 and 2 are different because of the However the server cannot determine the difference between case 2 and 3 because the flag is set for both. This means the server will have to figure out if the client uploaded a channel or container tree by calling ODSP. So "case 3" will actually involve a call to ODSP now, which is working against the purpose of what we want - I don't want Push to have to call ODSP when the client already committed the summary. |
Yes, I think that is what Tony is saying. For now, even for 3rd you can do same as you do in 2 because it will not be worse than the current state. Then once we are confident, w can enable the flag permanently and then you can stop checking the type and eliminate 2nd state. |
Fixes: #8079
This adds support for odsp driver to upload container type summary which includes the ".protocol" summary too along with app summary.
Currently there is no support at server to handle the full summary, so we get the SummaryNack in case we do upload the full summary in odsp driver.
But this is behind feature gate "SummarizeProtocolTree" in loader layer, so I think we don't need to add another feature gate for driver as if loader is sending the protocol tree then in that case odsp driver does have to upload everything, so I think another feature gate might not make sense. Let me know your thoughts @anthony-murphy .