strands-project / mongodb_store

MongoDB tools for storing and analysing runs of ROS systems.
BSD 3-Clause "New" or "Revised" License
49 stars 73 forks source link

Replication with query #220

Closed furushchev closed 6 years ago

furushchev commented 6 years ago

Closes #219 Please merge #218 first before this pull request.

usage: replicator_client.py [-h] [--move-before MOVE_BEFORE]
                            [--delete-after-move] [--query QUERY]
                            database collection [collection ...]

positional arguments:
  database              The db to move entries from
  collection            The collections to move entries from

optional arguments:
  -h, --help            show this help message and exit
  --move-before MOVE_BEFORE
                        Only entries before rospy.Time.now() - move_before are
                        moved. if 0, all are moved
  --delete-after-move   Delete moved entries after replication
  --query QUERY, -q QUERY
                        Only entries that are matched by the query are moved.
hawesie commented 6 years ago

retest please

hawesie commented 6 years ago

ok to test

hawesie commented 6 years ago

@furushchev should these tests pass now #218 has been merged?

furushchev commented 6 years ago

@hawesie No, some update was necessary for #218, I'll now update this pull request again. :+1:

furushchev commented 6 years ago

@hawesie Now updated and now passed all tests.