mongodb的一个恶心有关问题

mongodb的一个恶心问题??String 不能大于3M,写入时没问题。读出来的时候,bson decoder时做的检查,才报这个

mongodb的一个恶心问题

?

?String 不能大于3M,写入时没问题。读出来的时候,bson decoder时做的检查,才报这个错。

官方建议:

You can file a jira case if you think that should be changed.
Though I'm not sure want to support 4M strings.
If you need a huge field, you probably should use a binary type.

?