-
Notifications
You must be signed in to change notification settings - Fork 340
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
refactor: [EXC-1752] Remove the parts of old CanisterStateBits after migration #4335
base: master
Are you sure you want to change the base?
Conversation
…ts.proto Co-authored-by: Dimitris Sarlis <dimitrios.sarlis@dfinity.org>
This PR adds `TaskQueue` to `CanisterStateBits`. To keep the change backward compatible, we are adding new optional field tasks of type `TaskQueue` to `pb::CanisterStateBits`. In this PR we are adding support to deserialize both protobuf versions (old and new), while we always serialize with the new one. In the [follow-up](#4335) (planed for the next release) we will remove(reserve) `pb::CanisterStateBits` fields `on_low_wasm_memory_hook_status: pb::OnLowWasmMemoryHookStatus` and `task_queue: pb::VecDequeue` and we will remove deserialization with the old protobuf version. --------- Co-authored-by: Dimitris Sarlis <dimitrios.sarlis@dfinity.org>
I would wait until next week when it would be more clear that we don't need to roll back the previous change. There's no reason to risk anything earlier. |
I recommend you manually run the nightly tests at some point. The
|
This is follow-up on #2254. The plan is to merge this PR after the cutoff for this week's release.