tokyo-cabinettokyo-tyrant

TokyoTyrant - restart with clean datastore


What is the correct way to restart with a clean datastore with TokyoTyrant? Can it be done via the Linux command line?

I'm working on a project where I need to restart both TokyoTyrant and Solr in sync.


Solution

  • You can delete all records of your database via tokyotyrant with the vanish command, e.g.

    tcrmgr vanish [-port num] host