Giveth / feathers-giveth

Featherjs server for caching giveth data.
MIT License
87 stars 99 forks source link

Names of some users are removed #341

Open aminlatifi opened 3 years ago

aminlatifi commented 3 years ago

image

aminlatifi commented 3 years ago

It happened to my account to and I filled it again. @mohammadranjbarz I looked in simulation script and didn't see any part related to User entity creating or patching. Am I right?

mohammadranjbarz commented 3 years ago

@aminlatifi Yes you are right I think it's not related to simualtion script, as in develop I ran multiple time these days but the name didn't change

mohammadranjbarz commented 3 years ago

@aminlatifi I've an idea for knowing if simulation does this or not, You can edit your name in beta and run simulation script and then again check your name has been changed or not ( I say checking with your account because I don't have this problem"

mohammadranjbarz commented 3 years ago

@aminlatifi

I investigated on feathers-giveth and simulation, and we don't update the user's name unless in PATCH /users that it's right, so we can tell that the updated name didn't happen through the feathers

GriffGreen commented 3 years ago

Maybe add some logs to the database to understand how this rewrite happened....

GriffGreen commented 3 years ago

hopefully the upgrade will fix it

aminlatifi commented 3 years ago

Our plan on mongodb service provider (MongoDB Atlas) doesn't include profiling, and logging db commands is part of the profiling service. We are thinking about hosing DB ourselves for improving performance, if that happen we don't need upgrading our plan on MongoDB Atlas