-
Notifications
You must be signed in to change notification settings - Fork 176
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
Galera SST scripts shouldn't access grastate.dat #502
base: 4.x
Are you sure you want to change the base?
Conversation
Daniel, what is the license if this patch? |
I assume GPL-2 works for you. If so take it as that. Otherwise Apache-2 at your choice. If you have another preference let me know. Note: glibc extensions on fopen need to be at end so I discovered https://bugzilla.kernel.org/show_bug.cgi?id=199001 |
f991b55
to
49d0927
Compare
Daniel,
So, can you use A BSD licensed patch would be ok. Thanks! |
Thanks for the review and tips. May as well make it comprehensive. I'll resubmit. |
Daniel, we would rather have it as public domain. Is that possible? |
Contribution under the Codership Individual Contributor License Agreement on behalf of IBM (all approved - hence delay). I tried to sign up on https://www.clahub.com/agreements/codership/galera but failed (clahub/clahub#163) |
CLA signed now that technical barriers have been lifted. |
Daniel, I guess you will upload an updated patch? |
Should this patch be rebased for newer versions ? |
When SST scripts they inherit the open file descriptors. Here we use the GLIBC extensions to fopen, 'e', to ensure that forked processes don't inherit the file descriptor, and 'x' which ensure exclusive access.
49d0927
to
4d6b6f7
Compare
When SST scripts they inherit the open file descriptors.
Here we use the GLIBC extensions to fopen, 'e', to ensure
that forked processes don't inherit the file descriptor, and 'x'
which ensure exclusive access.
closes #339