-
Notifications
You must be signed in to change notification settings - Fork 129
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(sync) configurable artificial delay for cassandra deployments
decK first creates all the services and then creates related routes. With a distributed like Cassandra, route creation happens before the DB rows for new services are propagated to other nodes in the cassandra cluster. This results in a 409 from kong because kong ensures that service specified in a route is actually present in the db (c* has no notion of foreign relations, kong does a read on the service to verify and enforce foreign key relations). With the new configurable flag, users of cassandra can inject an aritifical between insert operations of related entities to avoid failures described above. The use of the flag is discouraged and is only implemented to provide a stop-gap solution. Fix #160 Fix #154
- Loading branch information
Showing
4 changed files
with
15 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters