{"record":{"id":"3a9d3da5e650db3b","repo":"apache/cassandra","slug":"seed-provider-returned-more-than-seeds-a-large","errorCode":null,"errorMessage":"Seed provider returned more than {} seeds. A large seed list may impact effectiveness of the third gossip round.","messagePattern":"Seed provider returned more than (.+?) seeds\\. A large seed list may impact effectiveness of the third gossip round\\.","errorType":"console","errorClass":null,"httpStatus":null,"severity":"error","filePath":"src/java/org/apache/cassandra/locator/SimpleSeedProvider.java","lineNumber":111,"sourceCode":"                        logger.debug(\"{} resolves to {}\", host, resolvedSeeds);\n                    }\n                    else\n                    {\n                        InetAddressAndPort addressAndPort = InetAddressAndPort.getByName(host.trim());\n                        seeds.add(addressAndPort);\n                        logger.debug(\"Only resolving one IP per DNS record - {} resolves to {}\", host, addressAndPort);\n                    }\n                }\n            }\n            catch (UnknownHostException ex)\n            {\n                // not fatal... DD will bark if there end up being zero seeds.\n                logger.warn(\"Seed provider couldn't lookup host {}\", host);\n            }\n        }\n\n        if (seeds.size() > SEED_COUNT_WARN_THRESHOLD)\n            logger.warn(\"Seed provider returned more than {} seeds. \" +\n                        \"A large seed list may impact effectiveness of the third gossip round.\",\n                        SEED_COUNT_WARN_THRESHOLD);\n\n        return Collections.unmodifiableList(seeds);\n    }\n}\n","sourceCodeStart":93,"sourceCodeEnd":118,"githubUrl":"https://github.com/apache/cassandra/blob/88fd0f6a0eaed8943f05ac9e8f947882b8ddc8f1/src/java/org/apache/cassandra/locator/SimpleSeedProvider.java#L93-L118","documentation":"Warning emitted by SimpleSeedProvider.getSeeds when DNS resolution of one seed record returned more seeds than the configured limit. A very large seed list weakens gossip's third-round effectiveness because every seed is contacted by every node.","triggerScenarios":"Thrown at src/java/org/apache/cassandra/locator/SimpleSeedProvider.java:111 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Reduce the number of seed entries to a small, cross-datacenter set (recommended 2-3 per DC).","Keep seeds uniform across all nodes' cassandra.yaml."],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"88fd0f6a0eaed8943f05ac9e8f947882b8ddc8f1","analyzedAt":"2026-09-10T07:29:22.284Z","contentChangedAt":"2026-09-10T07:29:22.284Z","schemaVersion":2},"datasetVersion":"2026-09-17T15:17:12.973Z"}