Code Monkey home page Code Monkey logo

Comments (6)

smalenfant avatar smalenfant commented on May 15, 2024

@nir-sopher Based on the documentation, When this is set to no Traffic Router will not serve DNS or HTTP responses for this delivery service.

I've used this in the past to configured and test delivery service before pushing configuration down the Traffic Router. Like a pre-stage before enabling and CR-Config.

Should this be considered a feature or a bug?

from trafficcontrol.

nir-sopher avatar nir-sopher commented on May 15, 2024

@smalenfant Note original defect by @elsloo (Comcast/traffic_control#1287). I migrated it during the bug-scrub

As it is useful and somehow documented, I would consider it a feature with an "improvement" requirement to better define the "active" field, allowing it to have 3 modes (no deployment, caches-only, and full-deployment).
However, taking "tenancy" into account, such fields should be in the hands of the CDN owner and not the DS owner. I.e. they should not be part of the DS table.

Furthermore, taking into account the "deployed versions" table defined for DSCV (Delivery Service Configuration Versioning), the "active" field can be removed from the DS table, and the DS should be deployed if the version exists in the "deployed versions" table. The "deployed versions" table can have a "deploy-mode" field with the values "full" and "caches-only" - to support the usecase Steve described.

Therefore, I would not change this behavior for now.
@elsloo - what do you think.

from trafficcontrol.

elsloo avatar elsloo commented on May 15, 2024

If we're building a more comprehensive solution that supersedes the original issue referenced above, I'm okay with ignoring this for the time being. I'm not sure that allowing inactive delivery services in remap.config was a conscious decision, so @smalenfant might be relying on something that was unintended behavior. The documentation merely describes what Traffic Router does, not whether the remap exists on the edge.

I discussed this quickly with @PSUdaemon and @knutsel and they both suggested that we might want to introduce states on delivery services, much like we have on servers. For example, we might want to have "disabled," "mapped," "mapped and routed," "routed," etc. I think this still holds when we think about DSCV @nir-sopher, as a particular version of a delivery service could be in one of those states.

from trafficcontrol.

dneuman64 avatar dneuman64 commented on May 15, 2024

@elsloo are you ok with moving this to a future release so we can figure out the right solution?

from trafficcontrol.

rawlinp avatar rawlinp commented on May 15, 2024

This is somewhat related to #1121. If inactive delivery services are not added to remap.config, then ANY_MAP delivery services will have to move to active, at which point the TR treats them similarly to HTTP delivery services, which is invalid according to the docs.

from trafficcontrol.

mitchell852 avatar mitchell852 commented on May 15, 2024

duplicate of #3746

from trafficcontrol.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.