Default spray behaviour to a replicated cluster should set replication and mean will be asynchronously replicated.
Description
Conclusion
Activity

Bob Foreman December 16, 2019 at 7:01 PM
Wil do Jake, thank you!

Jacob Cobbett-Smith December 16, 2019 at 6:03 PM
- can you open a new JIRA(s) re. issues, as this issue can't be reopened.
But I think in summary, the UI presents 2 options "Replicate" and "Delayed replicate", but it's not clear why there are 2 options or what "Replicate" does.
And in reality the only type of replication spray has ever supported is delayed replication. I suspect when that option was added, it was supposed to replace "Replicate" - i.e. only clarify it's meaning.
The ability to replicate immediately, afaik, has never been available.
- can you confirm that?

Bob Foreman December 16, 2019 at 1:56 PM
Hi Jake,
I'm OK with this I guess, but when you say:
_"So as it stands, afaik - it is how it's always been (prior to ), files will be marked replicated regardless of the "Replicate:" option in Eclwatch."
_
So shouldn't we default that Replicate check box to ON ?
Thanks!

Jacob Cobbett-Smith December 16, 2019 at 10:16 AM
This JIRA/PR restored the behavior to how it was prior to HPC-13897.
That is, that despite what 'Replicate:' says, it should publish the file with the replicated flag on.
Which always meant - that there 'may' be a replicate copy, but the actual replication is done at some later stage when backupnode is run.
Assuming I'm right, and worth checking, regardless of what you choose when spraying "Is Replicated:" should say true for a sprayed logical file to a cluster that has replication.
As mentioned in the description of this JIRA:
> At a later time we can give users the option of spraying without any redundancy, with immediate redundancy or with delayed/async redundancy (See ).
So as it stands, afaik - it is how it's always been (prior to ), files will be marked replicated regardless of the "Replicate:" option in Eclwatch.
Getting spray to actually replicate immediately has never been possible afaik, and it's what was opened for.
- can you review the above summary, and - and check that it covers what you expect.
Details
Components
Assignee
Attila VamosAttila VamosReporter
Jacob Cobbett-SmithJacob Cobbett-SmithPriority
MajorCompatibility
PointFix versions
Labels
Pull Request URL
Details
Details
Components
Assignee

Reporter

The default behaviour via eclwatch sprays and fileservice sprays is to perform no replication and to publish the file with no redundancy.
In older builds (e.g. 5.6.8), although the UI and fileservice defaults have not changed, files were published with redundancy on.
That in effect meant replicate later/asynchronously (via backupnode).
We should ensure that default behaviour is reinstated. At a later time we can give users the option of spraying without any redundancy, with immediate redundancy or with delayed/async redundancy (See HPCC-19439).
The UI spray interface should be changed to reflect that delayed replication is the default.