Skip to content

Global Cache handling of WIS2 Notification Messages on refusal to cache data objects #4

@6a6d74

Description

@6a6d74

The current behaviour of Global Cache when refusing to cache a data-object where data-policy=Core and cache=true (or cache directive missing from WNM) is to republish the WIS2 Notification Message as if the cache directive was set to false (cache=false) - i.e., the WNM is published on the cache topic branch containing links that refer back to the origin WIS2 Node.

There is a proposal to treat the refusal to cache the same as if it were an error, i.e., the Global Cache does not publish a WNM (etc.). From the WIS2 Node perspective this makes sense: they intended the data-object to be cached and it is not. It is also possible that WIS2 Nodes may not provide access for general users to download Core data directly from them. In which case, data consumers will get download failures.

On refusal to cache, should a GC republish a WNM or not?

And in the latter case, should the GC increment the (error) metric wmo_wis2_gc_downloaded_errors_total?

(See also Issue wis2-guide/8 for a discussion on publishing monitoring event messages when a GC refuses to cache an object)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions