apache / ignite

Apache Ignite
https://ignite.apache.org/
Apache License 2.0
4.83k stars 1.9k forks source link

IGNITE-22917 Remove GridDhtLockRequest#nearKeys #11474

Closed shishkovilja closed 3 months ago

shishkovilja commented 3 months ago

Description

GridDhtLockRequest#addNearKey(KeyCacheObject) usage was removed in commit in February 2015 [1]. Thus, this method seems to be useless.

Some related code in GridDhtTransactionalCacheAdapter, GridNearTransactionalCache, etc. was removed too because it became redundant.

  1. https://github.com/apache/ignite/commit/212293eb2bede9cca6610e7c43e870ab386bd3f8#diff-86a6708705e89463e914e03aff750e5bd7e5641eb568b9d0a7bbd9e62e7c81c4L944

Thank you for submitting the pull request to the Apache Ignite.

In order to streamline the review of the contribution we ask you to ensure the following steps have been taken:

The Contribution Checklist

Notes

If you need any help, please email dev@ignite.apache.org or ask anу advice on http://asf.slack.com #ignite channel.

sonarcloud[bot] commented 3 months ago

Quality Gate Passed Quality Gate passed

Issues
1 New issue
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
46.2% Duplication on New Code

See analysis details on SonarCloud