Skip to content

Conversation

@original-brownbear
Copy link
Contributor

Second go at #68687 now using the proper indirection so that this works
on both OSX and Linux. We can't use the same class we use for mlock like the original PR did
because the method signature differs across OSX and Linux.

Apart from the indirection in JNAFalloc this is unchanged from the previous PR.

Second go at #68687 now using the proper indirection so that this works
on both OSX and Linux. We can't use the same class we use for `mlock` like the original PR did
because the method signature differs across OSX and Linux.
@elasticmachine elasticmachine added the Team:Distributed (Obsolete) Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination. label Feb 10, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-distributed (Team:Distributed)

@joegallo
Copy link
Contributor

https://github.com/elastic/elasticsearch/compare/7a4011dc868..f93003a11bd is a handy link for reviewing this, it drops the diff from #68687 out so you only see the "new" diff that's the osx fix.

Copy link
Contributor

@joegallo joegallo left a comment

Choose a reason for hiding this comment

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

LGTM and works on my machine. ❤️

@original-brownbear
Copy link
Contributor Author

Thanks for the speedy revert + review on this one Joe!

@original-brownbear original-brownbear merged commit 608d358 into elastic:master Feb 10, 2021
@original-brownbear original-brownbear deleted the bring-back-jna branch February 10, 2021 19:40
original-brownbear added a commit that referenced this pull request Feb 11, 2021
Second go at #68687 now using the proper indirection so that this works
on both OSX and Linux. We can't use the same class we use for `mlock` like the original PR did
because the method signature differs across OSX and Linux.
@original-brownbear original-brownbear restored the bring-back-jna branch April 18, 2023 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Distributed Coordination/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs >non-issue Team:Distributed (Obsolete) Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination. v7.12.0 v8.0.0-alpha1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants