Skip to content

IGNITE-23615 Use shared threadpools in RocksDbFlusher for RocksDbKeyValueStorage#4713

Merged
tkalkirill merged 8 commits intoapache:mainfrom
gridgain:ignite-23615
Nov 14, 2024
Merged

IGNITE-23615 Use shared threadpools in RocksDbFlusher for RocksDbKeyValueStorage#4713
tkalkirill merged 8 commits intoapache:mainfrom
gridgain:ignite-23615

Conversation

@tkalkirill
Copy link
Contributor

@tkalkirill tkalkirill changed the title IGNITE-23615 Use shared threadpools in RocksDbFlusher IGNITE-23615 Use shared threadpools in RocksDbFlusher for RocksDbKeyValueStorage Nov 13, 2024

assert injectExecutorService != null : field;

return createExecutorService(injectExecutorService, field.getName(), field.getType(), field.getDeclaringClass());
Copy link
Contributor

Choose a reason for hiding this comment

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

If a field is declared in a superclass, then field.getDeclaringClass() will not be the actual test class. It will then be used to get logger, for example. Is this intended?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, do you have any suggestions?

Copy link
Contributor

Choose a reason for hiding this comment

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

Well, I asked a question :) What is already in code makes some sense already. Or we could use the real test class to obtain a logger. Up to you to decide.

@tkalkirill tkalkirill merged commit 16a312d into apache:main Nov 14, 2024
@tkalkirill tkalkirill deleted the ignite-23615 branch November 14, 2024 12:31
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