War es wirklich?

  • login
  • kontakt
Startseite

CouchDB

How to remove corrupted documents from CouchDB

Once a corrupted document is written to CouchDB it's not completely straightforward how to get it out again. Having such a document in the DB can bring the replication to a grinding halt, for example.
Futon will throw an error if you try to display the document and you won't get to delete it.

Assuming you know the ID here is an example of how to delete the document:

curl http://localhost:5984/mydbname/_all_docs | grep MYDOCID

_all_docs will not try to get the corrupted content of the document but just its meta data,
that's why no error about invalid json is thrown in this case.

  • CouchDB
  • Ich will das nie wieder suchen müssen
  • Englisch
  • cs's blog
  • Neuen Kommentar schreiben
  • Weiterlesen

CouchDB API Docs

http://techzone.couchbase.com/sites/default/files/uploads/all/documentat...

  • API
  • CouchDB
  • Dokumentation
  • Englisch
  • cs's blog
  • Neuen Kommentar schreiben

CouchDB-Ressourcen

Projektseite: http://couchdb.apache.org/
CouchDB-Wiki: http://wiki.apache.org/couchdb/
CouchDB - The definitive guide: http://guide.couchdb.org/
Eine kleine Sammlung mit den wichtigsten REST URLs: http://dready.byethost31.com/index.php/display/view/190
couchdb@stackoverflow: http://stackoverflow.com/questions/tagged/couchdb

  • CouchDB
  • Dokumentation
  • NoSQL
  • Deutsch
  • cs's blog
  • Neuen Kommentar schreiben
Inhalt abgleichen

Suchen

Themenwolke

Biologie Dokumentation Drupal Gesellschaft Git Ich will das nie wieder suchen müssen Internet IT IT-Sicherheit JavaScript jobpilot KDE Kryptographie Linux Mensch Monster MySQL Netzwerkzeug Open-Source-Software PHP Politik Psychologie Software Software-Entwicklung Spaß und Satire Tipps und Tricks Versionskontrolle Web-Entwicklung WTF Überwachung
Weitere Themen

OpenSource-Scores

Ohloh

Ohloh profile for cspitzlay

Drupal: Certified to rock

Yes I am
  • login
  • kontakt