forked from Azure/azure-sdk-for-java
-
Notifications
You must be signed in to change notification settings - Fork 0
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
ReplicaValidationForOpenConnectionAndInitCaches #4
Open
xinlian12
wants to merge
20
commits into
replicaValidationBeforeUse
Choose a base branch
from
replicaValidationForOpenAsync
base: replicaValidationBeforeUse
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 1 commit
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
34228dd
add replica validation for openConnectionAndInitCaches
1ee4dd0
Add ServiceProvider Interface to azure-json and azure-xml (#30635)
alzimmermsft 21573f5
Removing Rename for Containers and File Systems due to no service sup…
ibrahimrabab 66ff586
Prepare Core Libraries for September 2022 Release (#30745)
alzimmermsft c3cceb3
[TA] Client side validation (#30708)
mssfang 7d84719
[TA] Added displayName property (#30739)
mssfang c09f9cd
Prepare metrics for initial release. (#30750)
lmolkova 01a0cba
[Cosmos] add mapping of database account to number of clients in diag…
simorenoh 3701e72
Migrate SkipDefaultCheckout to SkipCheckoutNone (#30734)
azure-sdk 4b634d8
ReplicaValidation (#29767)
xinlian12 7abdfcd
Use currentContext instead of contextView (#30753)
alzimmermsft 6f2d05c
[TA] Add client side validation for displayName in healthcare (#30755)
mssfang 98e871a
ConnectionStateListener - Mark replica unhealthy (#30281)
xinlian12 83267fb
Merge branch 'replicaValidationBeforeUse' into replicaValidationForOp…
ae23768
merge from main and resolve conflicts
5d45713
update
45d5a27
fix tests
d05b336
clean code
729b5b6
add refresh function test
40eda14
resolve comments
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 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 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 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 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
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.
Just my 2 cents: I am not a fan of these stream-based or Linq-based operations liek sorted where it is unclear how the functional requirement is implemented.
Does sorted force using an ordered data structure? or use an unstructured data structure and then apply an order by after all results have been cached - like you would do when sorting the List you get back without this operator.
Perf-wise the latter would probably be better in this case>
Not blocking - and I don't have time to look into what .sorted actually is doing - just raising this as a general issue I have when these operators obfuscate the non-functional side-effects.