Skip to content

HDDS-5349. Avoid usage of locks in listStatus.#2369

Merged
bharatviswa504 merged 12 commits intoapache:masterfrom
bharatviswa504:HDDS-5349
Oct 8, 2021
Merged

HDDS-5349. Avoid usage of locks in listStatus.#2369
bharatviswa504 merged 12 commits intoapache:masterfrom
bharatviswa504:HDDS-5349

Conversation

@bharatviswa504
Copy link
Contributor

@bharatviswa504 bharatviswa504 commented Jun 25, 2021

What changes were proposed in this pull request?

Avoid usage of locks when iterating rocksdb iterator.

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/HDDS-5349

How was this patch tested?

Existing UT's.

Copy link
Contributor

@rakeshadr rakeshadr left a comment

Choose a reason for hiding this comment

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

Thanks @bharatviswa504 for the contribution. Added a few comments, pls take a look at it.

Copy link
Member

@cxorm cxorm left a comment

Choose a reason for hiding this comment

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

Thanks @bharatviswa504 for the description of it in jira,
the changes look well with the existing CI, I'm +1.

@adoroszlai
Copy link
Contributor

/pending How about moving the BUCKET_LOCK in PREFIX layout

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Marking this issue as un-mergeable as requested.

Please use /ready comment when it's resolved.

Please note that the PR will be closed after 21 days of inactivity from now. (But can be re-opened anytime later...)

How about moving the BUCKET_LOCK in PREFIX layout

@bharatviswa504
Copy link
Contributor Author

/ready

@github-actions github-actions bot dismissed their stale review October 5, 2021 21:58

Blocking review request is removed.

@github-actions github-actions bot removed the pending label Oct 5, 2021
@bharatviswa504
Copy link
Contributor Author

@rakeshadr Fixed review comments.
Can you have a look in to latest changes.

Copy link
Contributor

@rakeshadr rakeshadr left a comment

Choose a reason for hiding this comment

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

+1 LGTM, thanks @bharatviswa504 for the contribution.

@bharatviswa504 bharatviswa504 merged commit 1ffcfe9 into apache:master Oct 8, 2021
@bharatviswa504
Copy link
Contributor Author

Thank You @rakeshadr for the review and offline discussion.

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.

4 participants