Consistency Issue? #493
Unanswered
erich-team
asked this question in
Q&A
Replies: 1 comment 2 replies
-
|
Could you please provide some minimal but still complete code examples to reproduce the issue? Right now it isn't clear what is an expected result in your examples. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm not entirely sure this is an issue, with either dynamoid or dynamodb or just just an issue with how I'm approaching this. So, I'm posting this here instead of as an issue.
The Background
Given the models
I instantiate
ChildClasswhich kicks off what is likely the familiar process of calling an external system to do some work and call back in our system with the response. (ChildClass#call_external_system).ChildClass#full_responseis called,#urlis set,#full_responseis set, the object is persisted and#enqueue_evaluate_responseis called, kicking off a job where something is done with URL and the response.This is a pattern I've used hundreds of times in this application.
The callback into the system usually takes place on the order minutes after ChildClass is initially instantiated.
The Complication
Put simply
#urland#full_responseare alwaysnilinsideSomeJob, even, ifSomeJoblater. Not surprisingly the values in#attributesand#attributes_before_type_caseare also nil. I have checked the AWS console and URL is populated.To further complicate matters:
Similarly
Lastly
The Conclusion
I'm crazy. Or I'm confused. Or there's a bug. Keep in mind, the DynamoDB console shows all the data being there.
Beta Was this translation helpful? Give feedback.
All reactions