>> Can you clarify what it means to rename root index trees ?
Replacing
org.apache.ignite.internal.processors.cache.persistence.IndexStorageImpl.IndexItem,
changing IndexItem#idxName, but keeping fIndexItem#pageId.
Suggested solution is not suitable for the situation: add index -> drop index
The proposal looks good to me.
-Val
On Tue, Jul 6, 2021 at 2:24 AM Ivan Daschinsky wrote:
> I suppose, that general idea is great. Some details are missing, but I
> suppose during implementation of clients we will add more details and
> redefine some parts.
>
> вт, 6 июл. 2021 г., 09:59 Pavel
Hi Igniters,
I've detected some new issue on TeamCity to be handled. You are more than
welcomed to help.
*Test with high flaky rate in master
ZookeeperDiscoveryConcurrentStartAndStartStopTest.testConcurrentStartStop2
Gentle ping. Please help with context here.
On Mon, 5 Jul 2021, 13:03 Atri Sharma, wrote:
> Hi All,
>
> As part of the text queries overhaul effort, I am looking into the
> following ticket:
>
> https://issues.apache.org/jira/browse/IGNITE-12401
>
> As I understand it, the problem lies in the
Pavel,
Optionals are available in Java and we can use them. This is still boxing
though, and I don't know what the performance impact would be. In addition,
optional API is redundant for non-nullable fields. Perhaps, we can provide
both options (e.g. having intValue() and intValueOptional()
> Out of curiosity, what would this code do if the value is NULL? What is
the
type of the 'weight' variable?
float of course.
https://www.c-sharpcorner.com/article/out-parameter-in-c-sharp-7/
вт, 6 июл. 2021 г., 22:30 Valentin Kulichenko :
> Pavel,
>
> Optionals are available in Java and we
So what happens if the value is NULL? Exception?
-Val
On Tue, Jul 6, 2021 at 1:52 PM Ivan Daschinsky wrote:
> > Out of curiosity, what would this code do if the value is NULL? What is
> the
> type of the 'weight' variable?
>
> float of course.
>
Sorry, but what is wrong with simple method isNull()
вт, 6 июл. 2021 г., 09:55 Pavel Tupitsyn :
> Val,
>
> > I don't think there is a significantly better way
> > of doing this in Java.
>
> Yep looks like there is no way to return two values without boxing.
> No ref, no out, no value types.
>
>
Ivan, Val, and others - are there any open objections or questions?
Can we accept the proposal?
On Mon, Jul 5, 2021 at 1:28 PM Pavel Tupitsyn wrote:
> Igniters,
>
> I've updated the IEP to support "Live Schema" [1] from IEP-54.
> Some operations now have schemaless variants, where tuples are
Val,
> I don't think there is a significantly better way
> of doing this in Java.
Yep looks like there is no way to return two values without boxing.
No ref, no out, no value types.
> Schema already provides this information, doesn't it?
It does, though we don't have an agreement on how to
Ivan,
Nothing wrong except for performance concerns.
The following code looks up the column by name twice:
if (!tuple.isNull("weight"))
doSomething(tuple.floatValue("weight"))
Whereas in other languages you could do it in one shot:
if (tuple.TryGetFloatValue("weight", out var weight))
Hi team,
It seems that since mid June, the data between maillist and nabble.com
is no longer synchronized, which affects the user experience.
Is this a configuration error, or is a rule changed?
The Apache Ignite Community is pleased to announce the release of
Apache Ignite Spring Data extensions 1.0.0.
The following integrations were migrated to the Apache Ignite
Extensions repository:
- Spring Data 2.2 extension.
- Spring Data 2.0 extension.
- Spring Data extension.
Release notes:
The Apache Ignite Community is pleased to announce the release of
Apache Ignite Performance Statistics extension 1.0.0.
Apache Ignite provides a built-in tool for cluster profiling:
https://ignite.apache.org/docs/2.10.0/monitoring-metrics/performance-statistics
The extension provides utilities
Function basically returns two values. if value is null, it returns smth
like false, NaN, otherwise ,smth like true, 4.5. Syntax is a bit weird as
for me, but it is better than nothing.
In golang it looks like this:
if isValid, val:= getVal; isValid {
}
ср, 7 июл. 2021 г., 00:28
Hi, Ryan.
Current implementation doesn’t share free pages among cache partitions
when persistence is enabled. This happens because page is bound to
certain partition file and cannot be ‘moved’ and reused in another
partition. And there is no share of free pages among caches. Each
Ah, I see, you meant Optionals family. Yep, it is worth to think about.
вт, 6 июл. 2021 г., 10:06 Pavel Tupitsyn :
> Ivan,
>
> Nothing wrong except for performance concerns.
> The following code looks up the column by name twice:
>
> if (!tuple.isNull("weight"))
>
I suppose, that general idea is great. Some details are missing, but I
suppose during implementation of clients we will add more details and
redefine some parts.
вт, 6 июл. 2021 г., 09:59 Pavel Tupitsyn :
> Ivan, Val, and others - are there any open objections or questions?
> Can we accept the
Hello everyone!
Currently, dropping indexes consists of the following steps (based on
SchemaAbstractDiscoveryMessage's):
Step 1: Removing the index from the SQL engine and starting
DurableBackgroundCleanupIndexTreeTask, which removes the index trees in the
background;
Step 1.1:
Can you clarify what it means to rename root index trees ?
The simple solution which immediately comes to me is
1) write logical record on index creation - on reading it create an index
during logical recovery
2) write logical record on index deletion - on reading it delete an index
during
20 matches
Mail list logo