druid/docs
Gian Merlino a517f8ce49 Coordinator: Allow dropping all segments. (#7447)
Removes the coordinator sanity check that prevents it from dropping all
segments. It's useful to get rid of this, since the behavior is
unintuitive for dev/testing clusters where users might regularly want
to drop all their data to get back to a clean slate.

But the sanity check was there for a reason: to prevent a race condition
where the coordinator might drop all segments if it ran before the
first metadata store poll finished. This patch addresses that concern
differently, by allowing methods in MetadataSegmentManager to return
null if a poll has not happened yet, and canceling coordinator runs
in that case.

This patch also makes the "dataSources" reference in
SQLMetadataSegmentManager volatile. I'm not sure why it wasn't volatile
before, but it seems necessary to me: it's not final, and it's dereferenced
from multiple threads without synchronization.
2019-04-11 08:45:38 -07:00
..
_bin Add commit ID milestone helper script (#7100) 2019-03-11 11:36:07 -07:00
_graphics add missing license headers, in particular to MD files; clean up RAT … (#6563) 2018-11-13 09:38:37 -08:00
_includes fix links to use relative references (#6696) 2018-11-30 16:32:10 -08:00
_layouts Update license headers. (#5976) 2018-07-11 09:55:18 -07:00
content Coordinator: Allow dropping all segments. (#7447) 2019-04-11 08:45:38 -07:00
img Add master/data/query server concepts to docs/packaging (#6916) 2019-01-30 19:41:07 -08:00
_config.yml add missing license headers, in particular to MD files; clean up RAT … (#6563) 2018-11-13 09:38:37 -08:00
_redirects.json Add missing redirects and fix broken links (#7213) 2019-03-09 15:16:23 -08:00
index.html Update license headers. (#5976) 2018-07-11 09:55:18 -07:00