Hey @rohanil, are you using the latest version of the badger? We fixed a similar issue some days ago Ensure rewrite in vlog is within transactional limits (#911) · dgraph-io/badger@740b849 · GitHub .
So is there any dependancy condition between
MaxTableSizeandValueLogFileSizefor GC?
There is a dependency between the size of the table and the maximum size of the batch of entries we can push into badger. When we perform GC, we batch the valid entries together and push then into badger. In you case the size of batch is more than what badger can deal with.
For future reference, you can file issues on Issues · dgraph-io/badger · GitHub