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

RATIS-1746. Change the shared byte array in SegmentedRaftLogWorker to be configurable. #783

Open
wants to merge 1 commit into
base: branch-2
Choose a base branch
from

Conversation

szetszwo
Copy link
Contributor

@szetszwo szetszwo commented Nov 14, 2022

@adoroszlai
Copy link
Contributor

@szetszwo Thanks for the patch. I'd like to actually fix the leak. If we wanted to reduce the effect, we migth as well revert the shared buffer change (RATIS-1717).

@szetszwo szetszwo changed the title RATIS-1743. Memory leak in SegmentedRaftLogWorker due to metrics. Change the shared byte array in SegmentedRaftLogWorker to be configurable. Nov 15, 2022
@szetszwo
Copy link
Contributor Author

... If we wanted to reduce the effect, we migth as well revert the shared buffer change (RATIS-1717).

@adoroszlai , The shared buffer change (RATIS-1717) is a good change. We should make it configurable.

@szetszwo szetszwo changed the title Change the shared byte array in SegmentedRaftLogWorker to be configurable. RATIS-1746. Change the shared byte array in SegmentedRaftLogWorker to be configurable. Nov 15, 2022
@szetszwo szetszwo force-pushed the RATIS-1743_ByteArray branch from 78102d5 to c40d234 Compare November 15, 2022 19:01
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