Ticket #11 (assigned new feature)

Opened 2 months ago

Last modified 5 weeks ago

Make cluster aware versions of @cpattr and @mvattr

Reported by: cary Owned by: Ashen-Shugar
Priority: low Milestone: 3.9.1 alpha 2
Component: rhostmush Version: 3.9.1 alpha
Severity: none Keywords: clusters
Cc:

Description

These should, naturally, when the either of the objects involved are cluster members, behave accordingly (e.g. not duplicate attributes across cluster members; trigger the threshold action; etc).

They should gracefully handle mixed cases (e.g. 'from object' not a cluster member, but 'to object' part of a cluster) appropriately to the point of behaving like their non-cluster versions if neither object involved is a cluster member.

I'd say just make @cp/mvattr cluster away, but I can see situations where you would want to ignore cluster membership coming up too easily.

Change History

Changed 2 months ago by loki

  • owner changed from loki to Ashen-Shugar
  • status changed from new to assigned
  • version changed from 3.9.0alpha to 3.9.1alpha

Changed 2 months ago by loki

  • keywords clusters added
  • priority changed from normal to low

Changed 2 months ago by loki

  • milestone changed from 3.9.1 alpha 1 to 3.9.1 alpha 3

Changed 5 weeks ago by Ashen-Shugar

Looking at how clusters work internally, it might be easier to set up a @cluster/clone to clone an existing cluster than to cpattr it over.

There's too many considerations to take into account for a 1 to 1 copy of attributes. Thresholds just being a small one.

For example, what happens if the target cluster contains said attribute, do you copy over it? Keep the data? If the attribute is locked? Permissions on the attributes?

Note: See TracTickets for help on using tickets.