Re: Creation of buckets for partitioned region
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 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 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 > > > > > >
Re: OQL Method Authorizer Blog
+1 Good read, Juan. Nice job! On Fri, Feb 14, 2020 at 9:59 AM Jason Huynh wrote: > Great job Juan! Very informative and detailed read. > > On Fri, Feb 14, 2020 at 4:43 AM Nabarun Nag wrote: > > > Hi Geode Community, > > > > Please do visit the blog that Juan Ramos has put up on the OQL Method > > Authorizer : > > > > > https://jujoramos.blogspot.com/2020/02/pluggable-oql-method-authorization.html > > > > Thank you Juan for this effort. > > > > Regards > > Nabarun Nag > > > -- -John Spring Data Team
Re: OQL Method Authorizer Blog
Great job Juan! Very informative and detailed read. On Fri, Feb 14, 2020 at 4:43 AM Nabarun Nag wrote: > Hi Geode Community, > > Please do visit the blog that Juan Ramos has put up on the OQL Method > Authorizer : > > https://jujoramos.blogspot.com/2020/02/pluggable-oql-method-authorization.html > > Thank you Juan for this effort. > > Regards > Nabarun Nag >
Re: Creation of buckets for partitioned region
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 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 > > >
Re: Creation of buckets for partitioned region
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
OQL Method Authorizer Blog
Hi Geode Community, Please do visit the blog that Juan Ramos has put up on the OQL Method Authorizer : https://jujoramos.blogspot.com/2020/02/pluggable-oql-method-authorization.html Thank you Juan for this effort. Regards Nabarun Nag
Creation of buckets for partitioned region
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