You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Constantin Mitocaru (Jira)" <ji...@apache.org> on 2021/11/02 15:59:00 UTC

[jira] [Created] (SOLR-15759) clean cloud collection terms

Constantin Mitocaru created SOLR-15759:
------------------------------------------

             Summary: clean cloud collection terms
                 Key: SOLR-15759
                 URL: https://issues.apache.org/jira/browse/SOLR-15759
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
          Components: Server
    Affects Versions: 8.8.2
            Reporter: Constantin Mitocaru


On cloud platforms we're expanding and contracting solr nodes using ASGs.
When a new VM instance shows up a new replica is created. When scaled in we detect that and we delete the replica from ZK.

The problem is that, a marker for any replica, even destroyed is still kept in the ZK terms file associated to that collection.

It all works fine until the size of the file {color:#FF0000}*/collections/collName/terms/shard1*{color} exceeds 1MB in size (this fills up for us in about 1 year). Then everything blows away as new replicas cannot be registered in ZK.

 

So the request is the when a replica is deleted to also delete the term associated with it from the terms file.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org