misc.asciidoc 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. [[misc-cluster]]
  2. === Miscellaneous cluster settings
  3. [[cluster-read-only]]
  4. ==== Metadata
  5. An entire cluster may be set to read-only with the following _dynamic_ setting:
  6. `cluster.blocks.read_only`::
  7. Make the whole cluster read only (indices do not accept write
  8. operations), metadata is not allowed to be modified (create or delete
  9. indices).
  10. `cluster.blocks.read_only_allow_delete`::
  11. Identical to `cluster.blocks.read_only` but allows to delete indices
  12. to free up resources.
  13. WARNING: Don't rely on this setting to prevent changes to your cluster. Any
  14. user with access to the <<cluster-update-settings,cluster-update-settings>>
  15. API can make the cluster read-write again.
  16. [[cluster-max-tombstones]]
  17. ==== Index Tombstones
  18. The cluster state maintains index tombstones to explicitly denote indices that
  19. have been deleted. The number of tombstones maintained in the cluster state is
  20. controlled by the following property, which cannot be updated dynamically:
  21. `cluster.indices.tombstones.size`::
  22. Index tombstones prevent nodes that are not part of the cluster when a delete
  23. occurs from joining the cluster and reimporting the index as though the delete
  24. was never issued. To keep the cluster state from growing huge we only keep the
  25. last `cluster.indices.tombstones.size` deletes, which defaults to 500. You can
  26. increase it if you expect nodes to be absent from the cluster and miss more
  27. than 500 deletes. We think that is rare, thus the default. Tombstones don't take
  28. up much space, but we also think that a number like 50,000 is probably too big.
  29. [[cluster-logger]]
  30. ==== Logger
  31. The settings which control logging can be updated dynamically with the
  32. `logger.` prefix. For instance, to increase the logging level of the
  33. `indices.recovery` module to `DEBUG`, issue this request:
  34. [source,js]
  35. -------------------------------
  36. PUT /_cluster/settings
  37. {
  38. "transient": {
  39. "logger.org.elasticsearch.indices.recovery": "DEBUG"
  40. }
  41. }
  42. -------------------------------
  43. // CONSOLE