Replication - models and table. Q for ixsystems

Status
Not open for further replies.

noprobs

Explorer
Joined
Aug 12, 2012
Messages
53
A question for ixsystems Developers.

Whilst developing new functions I notice that the data model for replication is 'interesting'

table 'storage_replication' holds details of source and destination filesystems which references the host details in 'storage_replremote'

However when adding a new record in _replication (via GUI) a corresponding record is created in _replremote even if this creates duplicates. Deleting a replication only deletes data in _replication.

Is there ongoing work to address? If yes is this by consolidating replication into one model/table or by retaining both table but normalising/maintaining? The answer will impact by current developments :)


FYI As a result my current _replremote table looks like this

22|0||192.168.1.56|0|1|192.168.1.56 ssh-rsa ....
22|0||192.168.1.56|0|2|192.168.1.56 ssh-rsa ....
22|0||192.168.1.8|0|3|192.168.1.8 ssh-rsa ....
22|0||192.168.1.17|0|4|192.168.1.17 ssh-rsa ....
22|0||192.168.1.56|1|5|192.168.1.56 ssh-rsa ...
22|0||192.168.1.56|1|6|192.168.1.56 ssh-rsa ...
22|0||192.168.1.56|1|7|192.168.1.56 ssh-rsa ...

Regards,

Jon
 
Status
Not open for further replies.
Top