#Write Relationships

1 messages ยท Page 1 of 1 (latest)

rancid steppe
#

Hello @spark cliff , currently there's no way to configure this, but if you could open an issue about it, we might be able to add it to our roadmap.

#

And could you please explain why you want this feature?

spark cliff
#

Hello @rancid steppe So the flow I am implementing is something like this
When a request to add tuple to permify is recieved, do following

  1. Write permission to permify
  2. Notify other system of the change (think API call or generating a kafka message)

If step 1 is successful but step 2 fails, both steps are retried (I have no control over it [AWS Lambda]). Now in the retry attempt step 1 would fail with the error I shared earlier, and I'll notify the other system that the tuple write failed BUT actually it succeeded before the retry.

rancid steppe
spark cliff
#

Thanks for sharing that. Interesting. Unfortunately, it seems it won't work for in case, as I need to return back a value received in the request. It's like my Lambda receives a command event and I generate a command response event with command_id in the command response .

rancid steppe
#

Hello again @spark cliff , we've opened an issue regarding this matter. (https://github.com/Permify/permify/issues/530) It will be evaluated at the earliest opportunity. Currently, we estimate it should be resolved within two weeks.

rancid steppe
#

Hi @spark cliff , good news! We've just pushed out a new version (v0.4.6). Plus, we've taken care of the issue you can find at this link: (https://github.com/Permify/permify/issues/530).

Here are the steps to update to version v0.4.6:

If you are using Docker, you can update using the following command:

If you are using Brew:

  • brew update

Remember, I'm here if you bump into any issues or just have a question.

spark cliff
#

Hey @rancid steppe , That's great to hear! I was on vacation last week. Will try as soon as I get a chance. Thanks ๐Ÿ™Œ

rancid steppe
#

Alright, @spark cliff . I'm here if you face any problems. ๐Ÿ™‚

spark cliff
#

Hey @rancid steppe , it works ๐Ÿ‘ . QQ just out of curiosity: This seems to be the default behaviour now for 0.4.6. Is there a way to switch the behaviour to old one? ( For me the default is good)

  • Also, how could someone know if this behaviour changes in any future releases? Thanks