Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
[chore][fileconsumer/archive] - add signature methods for archive feature #35098
[chore][fileconsumer/archive] - add signature methods for archive feature #35098
Changes from 28 commits
ea3f57d
17ec1aa
26deb01
fe1912c
33566b0
5acb848
06e4a45
431ab41
077ab35
e3cdd5d
d88d5ae
d9e5992
c68817a
39d9e86
a6a010e
3490e7d
87c2d2a
b668554
7adf335
924e002
3f762ed
66824c6
ef2e53a
f009e71
79ce0e3
0dd23be
cae05c7
25d923b
4bc2150
9006e3f
4413322
637bfa5
27cc4e1
9eaa7e6
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we have to worry about these cases? Aren't we checking them and instantiating a
NoStateTracker
when these would ever be relevant?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NoStateTracker
will be created whenWithNoTracking
option is selected.We can create a normal tracker with archiving disabled, by setting
pollsToArchive: 0
.A tracker with archiving enabled will have
pollsToArchive
>0
.The check
t.persister == nil
is just a precautionary check.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alright. Maybe in another PR we can clean this up. IMO we have starting to have too many special cases to handle and the easiest solution to that is move to a pattern where the nils pieces are nops instead. Then the implementation doesn't need to worry about details so much.