-
Notifications
You must be signed in to change notification settings - Fork 153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AggRecord does not validate record size correctly #141
Comments
Hello, I can't really tell what the test is doing because I don't have access to the Thx! |
Sorry for the bad snippet. here is the correct one:
So, my issue is not that this is not working... it is. but it is confusing because this will pass the Fine... but atleast give a better exception that helps the user. Something like...
|
Unfortunately we can't just track and error on the data size, as the message digest MD5 will change as records are added and therefore it's not a single length that is allowable. Can certainly provide better error messages however. |
In the following code:
it validates each of
key
,explicitHashKey
,data
separately. But it does not validate that the sum of all of them is still less than MAX_RECORD_SIZEThis testcase shows the problem.
The first one is expected to fail. The second one should succeed but it doesnt.
The text was updated successfully, but these errors were encountered: