Skip to content

Conversation

@stalary
Copy link
Contributor

@stalary stalary commented May 2, 2020

  1. Split /_cluster/state into /_mapping and /_search_shards requests to reduce permissions and make the logic clearer
  2. Rename part es related objects to make their representation more accurate
  3. Simply support docValue and Fields in alias mode, and take the first one by default

#3311

@imay
Copy link
Contributor

imay commented May 5, 2020

@wuyunfeng
Could you please review this PR?

@stalary
You'd better add more information about this change list in commit message

@imay imay self-assigned this May 5, 2020
@wuyunfeng
Copy link
Member

OK

Copy link
Member

@wuyunfeng wuyunfeng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @stalary , I left some comments.

stalary added 5 commits June 10, 2020 17:58
# Conflicts:
#	fe/src/main/java/org/apache/doris/external/elasticsearch/EsRestClient.java
#	fe/src/main/java/org/apache/doris/external/elasticsearch/EsStateStore.java
#	fe/src/test/java/org/apache/doris/es/EsStateStoreTest.java
…to stalary_enhancement

# Conflicts:
#	fe/src/main/java/org/apache/doris/external/elasticsearch/EsRestClient.java
#	fe/src/main/java/org/apache/doris/external/elasticsearch/EsStateStore.java
#	fe/src/test/java/org/apache/doris/es/EsStateStoreTest.java
Copy link
Contributor

@BabySid BabySid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

加下必要的注释提高review的效率和质量

morningman
morningman previously approved these changes Jun 23, 2020
Copy link
Contributor

@morningman morningman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@morningman morningman added approved Indicates a PR has been approved by one committer. area/doris-on-es Issues or PRs related to Doris on ElasticSearch kind/improvement labels Jun 23, 2020
wuyunfeng
wuyunfeng previously approved these changes Jun 23, 2020
@stalary stalary dismissed stale reviews from wuyunfeng and morningman via 5fbae71 June 24, 2020 08:57
Copy link
Contributor

@morningman morningman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@morningman morningman merged commit a894b1e into apache:master Jun 26, 2020
morningman pushed a commit to morningman/doris that referenced this pull request Jun 28, 2020
…e/_search_shards] (apache#3454)

1. Split /_cluster/state into /_mapping and /_search_shards requests to reduce permissions and make the logic clearer
2. Rename part es related objects to make their representation more accurate
3. Simply support docValue and Fields in alias mode, and take the first one by default

apache#3311
EmmyMiao87 pushed a commit that referenced this pull request Jun 29, 2020
…ade FE (#3961)

ISSUE:#3960
PR #3454 introduce the caching for EsClient, but the initialization of the client was only during editlog replay, all this work should done also during image replay.

This happens when restart or upgrade FE

BTW: modify a UT failure for metric
morningman pushed a commit to morningman/doris that referenced this pull request Jun 29, 2020
…ade FE (apache#3961)

ISSUE:apache#3960
PR apache#3454 introduce the caching for EsClient, but the initialization of the client was only during editlog replay, all this work should done also during image replay.

This happens when restart or upgrade FE

BTW: modify a UT failure for metric
morningman pushed a commit that referenced this pull request Jul 7, 2020
…4012)

After PR #3454 was merged, we should refactor and reorganize some logic for long-term sustainable iteration for Doris On ES.
To facilitate code review,I would divided into this work to multiple PRs (some other WIP work I also need to think carefully)

This PR include:

1. introduce SearchContext for all state we needed
2. divide meta-sync logic into three phase
3. modify some logic processing
4. introduce version detect logic for future using
morningman pushed a commit to morningman/doris that referenced this pull request Jul 9, 2020
…pache#4012)

After PR apache#3454 was merged, we should refactor and reorganize some logic for long-term sustainable iteration for Doris On ES.
To facilitate code review,I would divided into this work to multiple PRs (some other WIP work I also need to think carefully)

This PR include:

1. introduce SearchContext for all state we needed
2. divide meta-sync logic into three phase
3. modify some logic processing
4. introduce version detect logic for future using
@stalary stalary deleted the stalary_enhancement branch July 19, 2020 08:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by one committer. area/doris-on-es Issues or PRs related to Doris on ElasticSearch kind/improvement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants