fs.asciidoc 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. [[modules-gateway-fs]]
  2. === Shared FS Gateway
  3. *The shared FS gateway is deprecated and will be removed in a future
  4. version. Please use the
  5. <<modules-gateway-local,local gateway>>
  6. instead.*
  7. The file system based gateway stores the cluster meta data and indices
  8. in a *shared* file system. Note, since it is a distributed system, the
  9. file system should be shared between all different nodes. Here is an
  10. example config to enable it:
  11. [source,js]
  12. --------------------------------------------------
  13. gateway:
  14. type: fs
  15. --------------------------------------------------
  16. [float]
  17. ==== location
  18. The location where the gateway stores the cluster state can be set using
  19. the `gateway.fs.location` setting. By default, it will be stored under
  20. the `work` directory. Note, the `work` directory is considered a
  21. temporal directory with Elasticsearch (meaning it is safe to `rm -rf`
  22. it), the default location of the persistent gateway in work intentional,
  23. *it should be changed*.
  24. When explicitly specifying the `gateway.fs.location`, each node will
  25. append its `cluster.name` to the provided location. It means that the
  26. location provided can safely support several clusters.
  27. [float]
  28. ==== concurrent_streams
  29. The `gateway.fs.concurrent_streams` allow to throttle the number of
  30. streams (per node) opened against the shared gateway performing the
  31. snapshot operation. It defaults to `5`.