But these servers will be assigned buckets later by rebalance.

On Fri, Feb 14, 2020 at 9:25 AM Barry Oglesby <bogle...@pivotal.io> 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 buckets for a region called
> PartitionRegionHelper.assignBucketsToPartitions
>
> Be careful about when that method is called, though. Any servers that are
> started after it is called will contain no buckets.
>
> Thanks,
> Barry Oglesby
>
>
>
> On Fri, Feb 14, 2020 at 7:48 AM Udo Kohlmeyer <u...@apache.com> wrote:
>
> > 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 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 buckets]),
> > >    *   or "select *" query is performed against that partitioned region
> > (in this case all buckets [max buckets] are created at once).
> > >
> > > Can you confirm that this is expected behavior?
> > >
> > > Thanks,
> > > Mario
> > >
> >
>

Reply via email to