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
synclist: EXECUTE{ALWAYS} ignore noderange #5755
Comments
hi @cxhong , do you have any thoughts on this? |
can u check if |
Sure, here you go: Example
Make sure the script doesn't exist on the nodes:
On
If it makes any difference, this is in hierarchical mode. |
@kcgthb , Thanks. This is a bug for syncfile hierarchy support.
so, it's doesn't matter if this scripts is on the compute node or not. |
@kcgthb while I tried to fix this, I think this
that's why if script is located in the syncfiledir |
@cxhong So there is no problem MN to sync all files to SN, but You need to pay attention to the why SN sync the file to |
@robin2008 , I understand what is the issue here. I can recreate it from our hierarchy cluster. from our readdoc, EXECUTE and EXECUTEALWAYS clause is different than Can someone confirm and are there FVT test cases for this? |
we have Need to update the test case to cover it. |
Per my understanding:
Here, if file2 is updated when sync, file2.post will be executed on nodes. @kcgthb Do you confirm While for
In our document, it does not clearly say it support the noderange for the So @cxhong let's take a look to see if we could support this with small effort, as the support is in |
@robin2008 Actually, it looks like Synclist file:
Check that
When run a 2nd time, it doesn't execute it, since the file is already there:
And
So I guess I will move to |
Yes, I think so. |
Awesome, thank you! |
please reopen if there are issues. |
In
synclists
, theEXECUTE
andEXECUTEALWAYS
directive are executed on all nodes, even if a noderange is specified.Given the following
synclist
:updatenode -F nodeB
will execute/tmp/script
onnodeB
, even thoughnodeA
is specified in thesynclist
noderange.The text was updated successfully, but these errors were encountered: