5.X/8. Breaking Changes

v5.2 Breaking changes

drscg 2017. 10. 23. 21:41

Packaging changesedit

System call bootstrap checkedit

Elasticsearch has attempted to install a system call filter since version 2.1.0. On some systems, installing this system call filter could fail. Previous versions of Elasticsearch would log a warning, but would otherwise continue executing potentially leaving the end-user unaware of this situation. Starting in Elasticsearch 5.2.0, there is now a bootstrap check for success of installing the system call filter. If you encounter an issue starting Elasticsearch due to this bootstrap check, you need to either fix your configuration so that the system call filter can be installed, or at your own risk disable the system call filter check.

Elasticsearch가 버전 2.1.0 이후에 system call filter를 설치하려고 시도했다. 일부 시스템에서는, 이 system call filter 설치가 실패할 수 있다. 이전 버전의 Elasticsearch는 경고를 기록하지만, 이후에는 최종 사용자 에게이 상황을 알리지 않고 계속 실행한다. Elasticsearch 5.2.0 부터는 system call filter 설치 성공을 위한 bootstrap check가 있다. 이 bootstrap 검사로 인해 Elasticsearch를 시작하는데 문제가 발생하면, system call filter를 설치할 수 있도록 구성을 수정하거나, *위험부담을 안고* system call filter check를 비활성화해야 한다.

Settings changesedit

System call filter settingedit

Elasticsearch has attempted to install a system call filter since version 2.1.0. These are enabled by default and could be disabled via bootstrap.seccomp. The naming of this setting is poor since seccomp is specific to Linux but Elasticsearch attempts to install a system call filter on various operating systems. Starting in Elasticsearch 5.2.0, this setting has been renamed to bootstrap.system_call_filter. The previous setting is still support but will be removed in Elasticsearch 6.0.0.

Elasticsearch가 버전 2.1.0 이후에 system call filter를 설치하려고 시도했다. 이들은 기본적으로 활성화되어 있으며 bootstrap.seccomp 를 통해 비활성화할 수 있다. Elasticsearch는 다양한 운영 체제에 system call filter를 설치하려고 하는데 seccomp 는 Linux에만 해당되므로, 이 설정의 이름은 적합하지 않다. Elasticsearch 5.2.0 부터 이 설정은 bootstrap.system_call_filter 로 이름이 변경되었다. 이전 설정은 여전히 지원되지만 Elasticsearch 6.0.0 에서는 제거된다.

Java API changesedit

Removed some of the source overridesedit

In an effort to clean up internals we’ve removed the following methods:

내부 정리를 위해 다음과 같은 method는 제가되었다.

  • PutRepositoryRequest#source(XContentBuilder)
  • PutRepositoryRequest#source(String)
  • PutRepositoryRequest#source(byte[])
  • PutRepositoryRequest#source(byte[], int, int)
  • PutRepositoryRequest#source(BytesReference)
  • CreateSnapshotRequest#source(XContentBuilder)
  • CreateSnapshotRequest#source(String)
  • CreateSnapshotRequest#source(byte[])
  • CreateSnapshotRequest#source(byte[], int, int)
  • CreateSnapshotRequest#source(BytesReference)
  • RestoreSnapshotRequest#source(XContentBuilder)
  • RestoreSnapshotRequest#source(String)
  • RestoreSnapshotRequest#source(byte[])
  • RestoreSnapshotRequest#source(byte[], int, int)
  • RestoreSnapshotRequest#source(BytesReference)
  • RolloverRequest#source(BytesReference)
  • ShrinkRequest#source(BytesReference)
  • UpdateRequest#fromXContent(BytesReference)

Please use the non-source methods instead (like settings and type).

대신, settings 와 type 과 같이, source method가 아닌 메소드를 대신 사용하자.

Timestamp meta-data field type for ingest processors has changededit

The type of the "timestamp" meta-data field for ingest processors has changed from java.lang.String to java.util.Date.

ingest processor의 "timestamp" meta-data field의 type이 java.lang.String 에서 java.util.Date 로 변경되었다.

'5.X > 8. Breaking Changes' 카테고리의 다른 글

v5.4 Breaking changes  (0) 2017.10.23
v5.3 Breaking changes  (0) 2017.10.23
v5.2-01. Shadow Replicas are deprecated  (0) 2017.10.23
v5.1 Breaking changes  (0) 2017.10.23
v5.0 Breaking changes  (0) 2017.10.23