Alluxio / alluxio

Alluxio, data orchestration for analytics and machine learning in the cloud
https://www.alluxio.io
Apache License 2.0
6.87k stars 2.94k forks source link

Add a property to disable prefetch read #18669

Open gp1314 opened 3 months ago

gp1314 commented 3 months ago

What changes are proposed in this pull request?

Why are the changes needed?

  1. Add a property alluxio.user.prefetch.read.enabled , client set false, the client only receives data of a certain size
  2. Related issue: #18118

Does this PR introduce any user facing changes?

Please list the user-facing changes introduced by your change, including

  1. Add a property alluxio.user.prefetch.read.enabled, default is true, maintain original logic
  2. If alluxio.user.prefetch.read.enabled set false, the client only receives data of a chunk size
alluxio-bot commented 3 months ago

Automated checks report:

Some checks failed. Please fix the reported issues and reply alluxio-bot, check this please to re-run checks.

gp1314 commented 3 months ago

alluxio-bot, check this please

alluxio-bot commented 3 months ago

Automated checks report:

Some checks failed. Please fix the reported issues and reply alluxio-bot, check this please to re-run checks.

gp1314 commented 3 months ago

alluxio-bot, check this please

alluxio-bot commented 3 months ago

Automated checks report:

Some checks failed. Please fix the reported issues and reply alluxio-bot, check this please to re-run checks.

alluxio-bot commented 3 months ago

Automated checks report:

All checks passed!

gp1314 commented 2 months ago

@lucyge2022 Could you please help core review it