<#4368 [BUG] GetLimitMegabytes check in stow_store...
# flyte-github
a
#4368 [BUG] GetLimitMegabytes check in stow_store.go is incorrect due to integer and float conversion Issue created by honnix Describe the bug flyte/flytestdlib/storage/stow_store.go Lines 267 to 271 in </flyteorg/flyte/commit/9fe34dbace17037f860c736ba1b8f709ee6cf773|9fe34db> , this max size check is incorrect because the division rounds down, which means as long as the
sizeBytes
is less than
GetLimitMegabytes + 1 MB
, this is always false. Expected behavior The max size check is done correctly. Additional context to reproduce No response Screenshots No response Are you sure this issue hasn't been raised already? ☑︎ Yes Have you read the Code of Conduct? ☑︎ Yes flyteorg/flyte