Skip to content

Cascade puts not working #16

@icorderi

Description

@icorderi

There seems to be a bug with P2P cascade put.
Start three simulators listening at [8123, 8125, 8127].

Run example from kinetic-py.

Prints:

Writing { Key: a9161851-01ea-49fa-af08-56dda9ccc4ee, Value: 0a4ade7b-044f-4869-a987-d452208e0aa1 } on first device
Copying key from first to second device and telling him to copy to third
Read { Key: a9161851-01ea-49fa-af08-56dda9ccc4ee, Value: 0a4ade7b-044f-4869-a987-d452208e0aa1 } from second device
Traceback (most recent call last):
  File "examples/p2p_pipe.py", line 31, in <module>
    print 'Read { Key: %s, Value: %s } from third device' % (kv.key, kv.value)
AttributeError: 'NoneType' object has no attribute 'key'

The third device does not have the key.

This bug was first reported at Kinetic/kinetic-py#12

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions