druid/services/src
Suneet Saldanha b91a16943b
Make 0.19 brokers compatible with 0.18 router (#10091)
* Make brokers backwards compatible

In 0.19, Brokers gained the ability to serve segments. To support this change,
a `BROKER` ServerType was added to `druid.server.coordination`.

Druid nodes prior to this change do not know of this new server type and so
they would fail to deserialize this node's announcement.

This change makes it so that the broker only announces itself if the segment
cache is configured on the broker. It is expected that a Druid admin will only
configure the segment cache on the broker once the cluster has been upgraded
to a version that supports a broker using the segment cache.

* make code nicer

* Add tests

* Ignore icode coverage for nitialization classes

* Revert "Ignore icode coverage for nitialization classes"

This reverts commit aeec0c2ac2.

* code review
2020-06-29 20:57:33 -07:00
..
bin Adding licenses and enable apache-rat-plugin. (#6215) 2018-09-18 08:39:26 -07:00
main Make 0.19 brokers compatible with 0.18 router (#10091) 2020-06-29 20:57:33 -07:00
test Make 0.19 brokers compatible with 0.18 router (#10091) 2020-06-29 20:57:33 -07:00