-
Notifications
You must be signed in to change notification settings - Fork 334
WPB-20806 Require history client when history sharing is enabled #5217
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
Open
battermann
wants to merge
34
commits into
develop
Choose a base branch
from
WPB-20806-support-and-require-a-history-client-in-an-mls-group-of-a-conversation-with-history-sharing-enabled
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
6ca9aca
added history client column cassandra
battermann 5664c41
added history client column to postgres table
battermann 27d055c
wip
battermann 3d9f46c
wip: extend client identity
battermann acc1f1c
fix cassandra interpreter and check if history client exists
battermann a38080f
added error
battermann e324e3a
test
battermann 69527cf
wip: add history client with mlscli
battermann 43e9991
wip: add history client
battermann 4274466
help to reset mls state
battermann d70fc54
test update: send another add commit
battermann 8e02c8d
conv store: add history client
battermann c41b61f
implement history client removal
battermann e86a18b
test: reject app message on history conflict
battermann fa5f69e
check history on app message
battermann 13483b6
formatting
battermann 5a5fd15
Reject commits that add more than one history client
pcapriotti 59ac347
linting
battermann d63688f
extend test with history client conflict cases
battermann 865da60
fix cassandra interpreter
battermann 3d807d8
better name
battermann 0e80c06
test migration of channel with shared history (failing)
battermann 425f0ce
wip: fix migrating shared history
battermann 4c1a71a
migrate history clients with the conversation
battermann fab79cd
test history client with a federated conv
battermann effaee8
removed unused column
battermann 9d1776e
clean up history clients on conversation deletion
battermann 3e73ce3
changelog
battermann 12a9ac9
Potential fix for pull request finding
battermann ecb8648
extended tests
battermann 017a622
comment
battermann 224768f
fix ProposalAction
battermann 3efec3e
do not allow history client in external proposal
battermann 5c6dbeb
linter
battermann File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| Enforced history client invariants for conversation history sharing: enabled requires exactly one history client, disabled requires none. | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
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.
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.
since i don't have any context yet, this makes me wonder how you transition from enabled to disabled or back without transitioning through an invalid state with the wrong number of history clients?