We're not doing anything special in the sg-replicate code with respect to
dns lookups (on purpose), so I think it's probably a lower level issue.

It might be a problem with your DNS server configuration, or an issue with
the go http library.

Just to clarify actual vs expected though, are you saying you are seeing
more DNS lookups than expected?  What's the TTL set to on your DNS entries?

On Wed, Jan 11, 2017 at 10:45 PM, arihant rk <[email protected]> wrote:

> I am using below replication config in the replication. On the destination
> side i have 2 sg-replicate nodes with fqdn at source to resolve. but could
> see that always requesting are hitting to only one sg-replicate.
>
> I could see that every time http request is normal. DNS resolution is
> resolving to list of ips in random manner.
>
> "replications":[
>    {
>                "replication_id":"C1_C2",
>                "source": "db",
>                "target": "http://prod-GWREP-V1.service.2.com:4985/db/";,
>                "continuous":true,
>                "changes_feed_limit":1000
>     }],
>
> is there caching happening at the start of sg-replicate, if so what is the
> need of everytime DNS resolution.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Couchbase Mobile" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/mobile-couchbase/a94efbdb-da8b-468c-a610-
> dfa1dbe036db%40googlegroups.com
> <https://groups.google.com/d/msgid/mobile-couchbase/a94efbdb-da8b-468c-a610-dfa1dbe036db%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/CACSSHCGf9AMUK5HtCyasWQRXMhHyANpJ6mPRperDz03mz%2BR5LA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to