Asynchronous Nature of the takeSnapshot API
TLDR Ignacio wanted to know if the takeSnapshot API runs asynchronously. Jason clarified that it runs synchronously, and 'success' means the snapshot is saved to disk.
1
Jul 02, 2022 (16 months ago)
Ignacio
05:18 PMIgnacio
06:19 PMsuccess
to snapshot. For reference: https://github.com/nmorenor/server_backup/blob/master/typesensebackup/backup.goJason
06:55 PMIgnacio
07:09 PM1
Typesense
Indexed 2779 threads (79% resolved)
Similar Threads
Slow, High CPU Write Operations After Collection Drop in Typesense
Himank discussed an issue in Typesense where deleting and recreating a collection led to slow write operations and high CPU usage. Kishore Nallan suggested using an alias to avoid this issue. Numerous tests and debugging was conducted as pboros contributed with local testing. Kishore Nallan aimed to start implementing a range delete and full db compaction after deletion to potentially solve the issue.
Issue with Deleting and Recreating Collections
Mischa faced issues with deleting and recreating a collection while getting 409 errors. Kishore Nallan suggested setting a large connection timeout. Jason provided a standalone example that worked for Mischa.
Resolve Connection Error on Records Upsert
Jainil faced consistent connection errors while upserting records. Jason identified an OOM issue, suggesting a capacity upgrade. Auto-scaling was discussed and the upgrade implementation process, which was in progress, was clarified.