The DataSource for a Model has no insight into the retry mechanism for get and set requests. This PR adds the retry count as one of a set of request options that are passed to DataSource.get and DataSource.set, so that this information may be used to e.g. manage request balancing and load shedding on the underlying network resource.
Coverage increased (+0.02%) to 92.616% when pulling c540f7596bbca8a4eaab7b912a17b3f544023055 on jcranendonk:ds_retry_info into 1f6f304fc247cb5d88e58197cd1a3bc558d8a9ae on Netflix:master.
The DataSource for a Model has no insight into the retry mechanism for get and set requests. This PR adds the retry count as one of a set of request options that are passed to
DataSource.get
andDataSource.set
, so that this information may be used to e.g. manage request balancing and load shedding on the underlying network resource.