Skip to content
This repository was archived by the owner on Aug 13, 2020. It is now read-only.

Replication of components is not working #87

@persquare

Description

@persquare

I tested replication of a component across multiple runtimes as part of en experiment trying to automatically cover an area with sensors. The problem is that a component in this context should be seen as an atomic unit, but the deployer treats it as a "sub-graph".

I've boiled the example down to the following code:

component Filter() token -> token {
    left: std.Identity()
    right: std.Identity()

    .token > left.token
    left.token > right.token
    right.token > .token
}

src : std.CountTimer()
filter : Filter()
collect : flow.Collect()
log : io.Print()

src.integer > filter.token
filter.token > collect.token
collect.token > log.token

apply filter : device_scaling(max=4)

and looking at the actual outcome of the deployment using csweb I get the picture below, where the cross-component-instance connections token > token from left to right are in error, there should only be a connection left.token > right.token in each component instance.
screen shot 2017-08-31 at 15 15 57

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions