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

capusule mina logic on shard and introduce filter to set MDC #3511

Merged
merged 11 commits into from
Aug 15, 2024

Conversation

thoniTUB
Copy link
Collaborator

No description provided.

@thoniTUB thoniTUB requested a review from awildturtok July 31, 2024 12:54
getConfig().getQueries().getSecondaryIdSubPlanRetention()
);
clusterConnection =
new ClusterConnectionShard(config, environment, workers, () -> createInternalObjectMapper(View.InternalCommunication.class, config, environment.getValidator()));
Copy link
Collaborator

Choose a reason for hiding this comment

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

mir gefällt nicht, dass du die gleiche logik - die subtile fehleranfälligkeiten haben kann zweimal implementierst. Könntest du das eventuell an interface binden und mehrere male this angeben?

Also PersistenceMaperFactory und ClusterCommunicationMapperFactory

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Das war etwas mehr aufzuräumen, ich habe einen extra PR gemacht: #3528

dem muss ich aber noch mergen rebasen nach dem hier

@Override
public void start() throws Exception {

for (Worker value : getWorkers().values()) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

ich weiß ehrlich gesagt gar nicht warum das existiert hat, das ist im Grunde ein Bug. Würde es einfach löschen?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Ich denke, wir hatten mal das Problem, dass nach einem update nicht alle Buckets deserializiert werden konnten (da hatten wir vielleicht noch nicht die StorageStatistics).

Beim Entwickeln des Cachings hat es mich einmal auf einen Fehler aufmerksam gemacht, weil auf einmal alle CBlocks neuberechnet wurden beim Restart.

Ich würd es es als Consistency-Test erstmal drinne lassen.

@thoniTUB thoniTUB enabled auto-merge August 15, 2024 11:41
@thoniTUB thoniTUB merged commit 26ea90f into develop Aug 15, 2024
6 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