Re: Creation of buckets for partitioned region

2020-02-14 Thread Xiaojian Zhou
But these servers will be assigned buckets later by rebalance. On Fri, Feb 14, 2020 at 9:25 AM Barry Oglesby wrote: > Mario, > > Yes, a query execution causes the buckets to be created. > > Also, onRegion function execution causes them to be created as well. > > There is an API to create the buc

Re: Creation of buckets for partitioned region

2020-02-14 Thread Barry Oglesby
Mario, Yes, a query execution causes the buckets to be created. Also, onRegion function execution causes them to be created as well. There is an API to create the buckets for a region called PartitionRegionHelper.assignBucketsToPartitions Be careful about when that method is called, though. Any

Re: Creation of buckets for partitioned region

2020-02-14 Thread Udo Kohlmeyer
Hi there Mario, I can confirm the first observation. Buckets are created lazily. Upon data create, buckets are created as required. --Udo On 2/14/20 12:16 AM, Mario Ivanac wrote: Hi geode dev, we have observed following behavior, at creation of partitioned regions. After partitioned region

Creation of buckets for partitioned region

2020-02-14 Thread Mario Ivanac
Hi geode dev, we have observed following behavior, at creation of partitioned regions. After partitioned region is created, initialization of bucket will take place: * only at point when first data is inserted in region (bucket will be incrementally created for every added entry, till [max