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-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to