misc.asciidoc 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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. WARNING: Don't rely on this setting to prevent changes to your cluster. Any
  11. user with access to the <<cluster-update-settings,cluster-update-settings>>
  12. API can make the cluster read-write again.
  13. [[cluster-max-tombstones]]
  14. ==== Index Tombstones
  15. The cluster state maintains index tombstones to explicitly denote indices that
  16. have been deleted. The number of tombstones maintained in the cluster state is
  17. controlled by the following property, which cannot be updated dynamically:
  18. `cluster.indices.tombstones.size`::
  19. Index tombstones prevent nodes that are not part of the cluster when a delete
  20. occurs from joining the cluster and reimporting the index as though the delete
  21. was never issued. To keep the cluster state from growing huge we only keep the
  22. last `cluster.indices.tombstones.size` deletes, which defaults to 500. You can
  23. increase it if you expect nodes to be absent from the cluster and miss more
  24. than 500 deletes. We think that is rare, thus the default. Tombstones don't take
  25. up much space, but we also think that a number like 50,000 is probably too big.
  26. [[cluster-logger]]
  27. ==== Logger
  28. The settings which control logging can be updated dynamically with the
  29. `logger.` prefix. For instance, to increase the logging level of the
  30. `indices.recovery` module to `DEBUG`, issue this request:
  31. [source,js]
  32. -------------------------------
  33. PUT /_cluster/settings
  34. {
  35. "transient": {
  36. "logger.indices.recovery": "DEBUG"
  37. }
  38. }
  39. -------------------------------