You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@solr.apache.org by Doug Whitfield <dw...@perforce.com.INVALID> on 2024/11/14 20:49:40 UTC

replication factor of 2,147,483,647

Hi Folks,

I did a DDG search and came up with nothing. I also did a search of the email archives I have (which admittedly do not include the entire archive).

BDH SOLR sometimes reports replication factor of 2,147,483,647. Is this a write failure? Can you please advice what this "rf" is?

This is on 7.4, so is out of support, but wonder if anyone has come across this and if this is a bug that might be fixed (so I can point the team to the minimum required version to fix).

Best Regards,

Douglas Whitfield




This e-mail may contain information that is privileged or confidential. If you are not the intended recipient, please delete the e-mail and any attachments and notify us immediately.


Re: replication factor of 2,147,483,647

Posted by Dmitri Maziuk <dm...@gmail.com>.
On 11/14/24 16:30, Arrieta, Alejandro wrote:

> I know is old lucene doc, but latest lucene 10 only mentions int32 and not
> the number 2.1 billion.

That *is* the max int32 (signed, but Java doesn't do unsigned in 
"primitive" data types).

Dima


Re: replication factor of 2,147,483,647

Posted by "Arrieta, Alejandro" <aa...@perrinsoftware.com>.
Hello,

That sounds like the max docs per shard error:
https://lucene.apache.org/core/3_0_3/fileformats.html#Limitations
I know is old lucene doc, but latest lucene 10 only mentions int32 and not
the number 2.1 billion. And the old doc is the one that google shows as the
first answer.
https://lucene.apache.org/core/10_0_0/core/org/apache/lucene/codecs/lucene100/package-summary.html#Limitations

Hope this helps.

Kind Regards,
Alejandro Arrieta


On Thu, Nov 14, 2024 at 5:51 PM Doug Whitfield
<dw...@perforce.com.invalid> wrote:

> Hi Folks,
>
> I did a DDG search and came up with nothing. I also did a search of the
> email archives I have (which admittedly do not include the entire archive).
>
> BDH SOLR sometimes reports replication factor of 2,147,483,647. Is this a
> write failure? Can you please advice what this "rf" is?
>
> This is on 7.4, so is out of support, but wonder if anyone has come across
> this and if this is a bug that might be fixed (so I can point the team to
> the minimum required version to fix).
>
> Best Regards,
>
> Douglas Whitfield
>
>
>
>
> This e-mail may contain information that is privileged or confidential. If
> you are not the intended recipient, please delete the e-mail and any
> attachments and notify us immediately.
>
>