Skip to content
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

Detect Server Capabilities #172

Merged
merged 6 commits into from
Jan 26, 2022
Merged

Conversation

thefringeninja
Copy link
Contributor

@thefringeninja thefringeninja commented Nov 30, 2021

  • add server capabilities checks for persistent subscriptions to all and batch append
  • remove net48 as a target

@thefringeninja thefringeninja self-assigned this Nov 30, 2021
@thefringeninja thefringeninja force-pushed the b0rked-append branch 6 times, most recently from 1b07679 to be66145 Compare December 8, 2021 12:04
@thefringeninja thefringeninja changed the title Detect Server Capabilities [PoC] Detect Server Capabilities Dec 8, 2021
@thefringeninja thefringeninja marked this pull request as ready for review December 8, 2021 12:23
@thefringeninja thefringeninja force-pushed the b0rked-append branch 2 times, most recently from 7b022b7 to 908de93 Compare December 10, 2021 11:03
Copy link
Member

@YoEight YoEight left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work, LGTM overall.

My only concern is that feature introduces a lot of branching that seems to be avoidable.
@timothycoleman convinced me I was wrong here.

@@ -64,8 +64,6 @@ public class EventStoreTestServer : IEventStoreTestServer {
.WithName(ContainerName)
.MountVolume(_hostCertificatePath, "/etc/eventstore/certs", MountType.ReadOnly)
.ExposePort(2113, 2113)
//.KeepContainer()
//.KeepRunning()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Leftovers

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lets keep these i think

YoEight
YoEight previously approved these changes Jan 3, 2022
Copy link
Member

@YoEight YoEight left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@timothycoleman timothycoleman self-assigned this Jan 6, 2022
thefringeninja and others added 4 commits January 13, 2022 11:24
- add timeouts to append_to_stream_retry tests

- increase timeouts on security tests
- ensure calls are disposed
- rediscovery on server not available
- client reusable after discovery or server caps failure

Co-authored-by: Timothy Coleman <timothy.coleman@gmail.com>
@thefringeninja
Copy link
Contributor Author

TalAloni/StandardSocketsHttpHandler#8 could fix our issue on net48

@thefringeninja
Copy link
Contributor Author

See TalAloni/StandardSocketsHttpHandler#9 for follow up.

YoEight
YoEight previously approved these changes Jan 24, 2022
@timothycoleman
Copy link
Contributor

this pr also improves server discovery:

  • allows client to continue to work after a discovery failure
  • performs rediscovery when losing connection to previously selected node
  • does not rediscover if rediscovery is in progress

Copy link
Contributor

@timothycoleman timothycoleman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants