Skip to content

SPARK-466 - #155

Open
strogiyotec wants to merge 2 commits into
mongodb:10.8.xfrom
strogiyotec:10.7.1-release
Open

SPARK-466#155
strogiyotec wants to merge 2 commits into
mongodb:10.8.xfrom
strogiyotec:10.7.1-release

Conversation

@strogiyotec

Copy link
Copy Markdown
Contributor

SPARK-466 add a setting to shuffle the partition list
Otherwise it's sorted and later on ExecutorService will execute partitions against the same shard
spark.mongodb.read.partitioner.options.shuffle - boolean , When true, shuffles the generated partitions so consecutive partitions are unlikely to belong to the same shard, spreading read load across shards.
spark.mongodb.read.partitioner.options.shuffle.seed - long , The seed used when shuffling partitions. Set it to get a reproducible shuffle. Only takes effect when shuffle is true. An invalid (non-long) value raises a MongoSparkException.

 SPARK-466 add a setting to shuffle the partition list
Otherwise it's sorted and later on ExecutorService will execute partitions against the same shard
 spark.mongodb.read.partitioner.options.shuffle - boolean , When true, shuffles the generated partitions so consecutive partitions are unlikely to belong to the same shard, spreading read load across shards.
spark.mongodb.read.partitioner.options.shuffle.seed - long , The seed used when shuffling partitions. Set it to get a reproducible shuffle. Only takes effect when shuffle is true. An invalid (non-long) value raises a MongoSparkException.
@strogiyotec
strogiyotec requested a review from rozza August 15, 2026 04:44
@strogiyotec
strogiyotec requested a review from a team as a code owner August 15, 2026 04:44
@codeowners-service-app

codeowners-service-app Bot commented Aug 19, 2026

Copy link
Copy Markdown

Assigned stIncMale for team dbx-java because rozza is out of office.
Assigned vbabanin for team dbx-java because rozza is out of office.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant