What are the Slack Archives?
Itβs a history of our time together in the Slack Community! Thereβs a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.
Because this space is not active, you wonβt be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..
How do people deal, in general, with inconsistent data in Yves?
How do people deal, in general, with inconsistent data in Yves?
Comments
-
or if people encounter this issue at all?
0 -
get so many NULL errors which after digging involve missing or inconsistent data
0 -
missing comparing to what?
0 -
never had those, sry
0 -
never had null errors? π
0 -
never had inconsistent data - whatever that means
0 -
I might have removed something and then there was an error in twig or something but that is kinda expected
0 -
but I might be missing what you mean
0 -
for example, right now I have a product which is being pulled from the product storage and crashing because the abstrat storage data for that product isn't there
0 -
and it's calling
json_decode
on NULL0 -
hmm, ok this is a concrete problem
0 -
but one way or another related to data inconsistency
0 -
we have previously thought about a health check or similar which would ensure that the data in Redis / ES is sane
0 -
yes, now i get your point - sync to the storage fails for some reason and you end up in broken state
0 -
I really do not see any solution but having monitoring set up and detecting when product page gets and error
0 -
As far as I know we never had that in Yves as well but we use a heavy custom hack.
0 -
so right now I could override the Spryker class to deal with this eventuality somehow - even if it's an explicit log message and an exception
0 -
@UM4BZSK7T what is the heavy custom hack? π
0 -
I guess there is nothing left how spryker uses data in Yves as we created templates that putout VueJS stuff. And I can't recall any Redis data being out of sync.
0 -
We have problems with the event system not syncing. But never json decode on NULL
0 -
yeah, this is just an instance of this type of issue
0 -
previously also had issues with prices etc (on another project)
0 -
Prices for example are found by a call to our ERP and not to Yves afaik
0 -
I also have most experience with heavily customized shops
0 -
Non-existing data in storages is one scenario, wait until you will get to the point where you will reach race-conditions under high load, then it will get fun.
0 -
yeah -- not sure if theres anything to handle f.e. prices being published some time after product data
0 -
not sure though π
0 -
When we went for consultation @ spryker, their senior architect stated there is nothing we can do about that. So π€·ββοΈ
0 -
@UKGT7RC7P but your issue seems like missing event triggers in pub and sync. How did you get to the situation when you have concrete product with missing abstract?
0 -
yeah, this is what I'm investigating now π
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 76 Spryker News
- 929 Developer Corner
- 787 Spryker Development
- 89 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 35 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 26 Job Opportunities
- 3.2K π Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 70 Spryker Safari Questions
- 50 Random