Troubleshooting Typesense Cluster Sync Issues in K8s Environment
TLDR Robert encountered node syncing issues in the K8s cluster with Typesense nodes. Kishore Nallan offered advice, including using DNS names and suggesting a call. Robert plans to use a single region Typesense with Redis caching. The thread resolved with the possibility of configuring Typesense with DNS names from 0.21.0.
Aug 17, 2021 (25 months ago)
Robert
05:43 AMKishore Nallan
05:45 AMKishore Nallan
05:47 AMRobert
06:09 AMRobert
06:09 AMRobert
04:17 PMKishore Nallan
04:19 PM1. Number of records and memory foot print.
2. How frequently are the records updated?
3. Streaming updates or bulk updates?
Robert
04:25 PMafter they are added very rare they will change (only if the user is changing the name or username)
Robert
04:26 PMRobert
04:27 PMKishore Nallan
04:42 PMAnother option will be to use a kafka cluster where all writes are written to, and then you have 1 consumer in each region to index independently.
Robert
04:54 PMAug 18, 2021 (25 months ago)
Kishore Nallan
05:22 AMKishore Nallan
11:47 AMRobert
11:48 AMKishore Nallan
11:49 AMRobert
11:49 AMRobert
11:49 AMRobert
11:50 AMRobert
11:50 AMRobert
11:50 AMRobert
11:50 AMRobert
01:44 PMKishore Nallan
01:45 PMRobert
03:05 PMRobert
03:06 PMKishore Nallan
03:07 PMTypesense
Indexed 2764 threads (79% resolved)
Similar Threads
Troubleshooting Typesense Cluster Multi-node Leadership Error
Bill experienced a problem with a new typesense cluster, receiving an error about no leader and health status issues. Jason and Kishore Nallan provided troubleshooting steps and determined it was likely due to a communication issue between nodes. Kishore Nallan identified a potential solution involving resetting the data directory. Following this, Bill reported the error resolved.
Optimizing Typesense Implementation for Large Collections
Oskar faced performance issues with his document collection in Typesense due to filter additions. Jason suggested trying a newer Typesense build and potentially partitioning the data into country-wise collections. They also discussed reducing network latency with CDN solutions.



Setting Up HA Cluster on Fly with Typesense
Jordan needed help setting up an HA cluster on Fly for Typesense. Jason assisted in troubleshooting the configuration and 6tunnel usage. Eventually, a solution was found in the Fly community forum.

Release Announcement and Discussion of Typesense Operator on Kubernetes
Sai announced the release of the Typesense Operator for Kubernetes and discussed its features. Kishore Nallan highlighted a potential issue with rotation, which Sai explained is managed internally given the operator uses service DNS connections. Kishore Nallan recommended highlighting this in the README.

Discussion About Typesense Nodes Not Synchronizing Correctly
Erick experienced an issue where documents weren't updated properly in a Typesense instance running on 3 nodes. Upon requesting debug logs and configs, Jason identified that these nodes weren't part of the same cluster. They couldn't resolve the nodes' failure to connect issue and recommended a fresh installation.

