Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reprocess attachments #21

Open
alexbrahastoll opened this issue Jan 17, 2022 · 0 comments
Open

Reprocess attachments #21

alexbrahastoll opened this issue Jan 17, 2022 · 0 comments

Comments

@alexbrahastoll
Copy link

Hi there,

First of all, thanks for this project! I imagine you have moved on from it, but it is still working fine and it helped me implement a much needed feature in the application I am currently working on.

One scenario I stumbled upon is the necessity of reprocessing a document's attachments. Let's say, for example, that the imagemagick configuration was not completely right and, after tweaking it, I want to have the same attachments processed again. How can I do it? Here are some things I have tried:

  • To delete the new documents couchmagick creates
  • To restart CouchDB

None of the above worked. What seems to work is to update the original document. Is there an easier way? Do you remember how exactly couchmagick keeps track of the documents it already processed?

I tried studying the source code, but since I am a Node.js newbie, I was not able to understand how the daemon keeps a record of documents already processed.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant