MarginaliaSearch/MarginaliaSearch

Loader throws (rare) exceptions, IP column size too small

Closed this issue · 2 comments

Data for IP column in EC_URL is too long. This is probably due to IPv6 addresses. Need to either enlarge the column or truncate/blank the field if it doesn't fit. Right now the domain will be dropped from loading, not good.

The field is VARCHAR(32). Ipv6 can apparently be up to 40 bytes.

The bug seems fairly rare, like one in a thousand domains or less

Fixed with d42ab19