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

Fix cluster sharding benchmark #7061

Merged
merged 1 commit into from
Jan 12, 2024

Conversation

Arkatufus
Copy link
Contributor

Changes

Fix broken cluster sharding benchmark

Copy link
Contributor Author

@Arkatufus Arkatufus left a comment

Choose a reason for hiding this comment

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

Self review


var report = summary[benchmarkCase];
var statistics = report?.ResultStatistics;
if(statistics is null)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Both report and statistics can be null if a benchmark case failed to run.

{
Receive<ShardingEnvelope>(e =>
Receive<Resolve>(_ =>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is the cause for the bug.

ShardingEnvelope does not get passed to the shard entity anymore, it is automatically unwrapped by the new extractor.

Copy link
Member

Choose a reason for hiding this comment

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

BITTEN BY MY OWN BUG FIX

Copy link
Member

Choose a reason for hiding this comment

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

Thank you @Arkatufus

@Aaronontheweb Aaronontheweb enabled auto-merge (squash) January 12, 2024 20:27
Copy link
Member

@Aaronontheweb Aaronontheweb left a comment

Choose a reason for hiding this comment

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

LGTM

@Aaronontheweb Aaronontheweb merged commit 187caa9 into akkadotnet:dev Jan 12, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants