Bulk loader crashes during reduce phase

Hi,
No error like Request size offset 18905107590 is bigger than maximum offset 4294967295 github.com/dgraph-io/badger/v2.(*valueLog).validateWrites with the PR(batch write),

However,
we got a new error like this topic : About bulk load failed with 10000-thread limit - #5 by mrjn

runtime: program exceeds 10000-thread limit

@omar
Hi , did batch the list before writing may cause go max thread limit for write too many times?