-
Notifications
You must be signed in to change notification settings - Fork 585
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
Bug: Should soft fail and continue on fallocate error on AWS Lambda #1832
Comments
Sorry for the late response. The only thing I can suggest is that you check the permissions of |
I am sorry, this is not a user-help issue. There is no benefit from checking the permissions of /tmp when the PaaS provider is the one that controls it. Realm-core needs to be fixed to dynamically account for environments that do not support sparse files. |
@heri16 Thanks for the hint on sparse files. @finnschiermer Can you enlighten us on sparse files and |
@heri16 Do you know which file system |
Hi Is there any update on this? |
@kneth it it the ephemeral filesystem provided on AWS Lambda. |
Instead of doing of programming for every type of POSIX filesystem out there, should do defensive programming instead. |
@heri16 @jeddWebill @emanuelez We have a fix coming up in #2178. I plan to release it as v2.22.0-beta.1 but I will notify you when happens. |
v2.22.0-beta.1 doesn't fix it. But I don't think in it in our code. Running |
Hi @kneth @bmunkholm , |
@mithunph Unfortunately not. AWS support hasn't been able to explain why it doesn't work. |
Hi @kneth , |
@mithunph Absolutely. Our whole Cloud is running there :-) |
Thanks @bmunkholm @kneth |
We have a proper fix in #4023 |
Goals
Trying to run realm-js on nodejs 8.10 AWS Lambda.
Expected Results
Should be able to open a realm path on /tmp
Actual Results
Steps to Reproduce
sls deploy -f realm
sls invoke -f realm --data "{'test': 'ok'}"
Code Sample
The text was updated successfully, but these errors were encountered: