General

Profile

Alexandru Lungu's activity

From 08/13/2025 to 09/11/2025

09/11/2025

08:11 AM Database Bug #10480: Wrong sort criteria in FOR LAST when index has desc component
Artur, can you pick up 10480a fox performance testing (only runtime)? Alexandru Lungu

09/10/2025

10:11 AM TRPL Feature #3211: implement multi-threaded pattern engine and rework the ConversionDriver to leverag...
> Alex/Ovidiu/Eric?
My POV is that we should converge to what trunk has. We can agree that trunk is broken, but at...
Alexandru Lungu
08:46 AM Database Bug #10542 (Internal Test): Write trigger called when multiple buffers reference the same record
Alexandru Lungu
08:21 AM Database Bug #10542: Write trigger called when multiple buffers reference the same record
I am OK with the changes.
* @setLocked@ should always be set to false. It is basically related to the fact that t...
Alexandru Lungu
07:14 AM Database Bug #10542: Write trigger called when multiple buffers reference the same record
> Then we have to really fire the trigger only on explicit releases. The implicit query initialisation will fire it o... Alexandru Lungu
05:19 AM Database Bug #10542: Write trigger called when multiple buffers reference the same record
I am inclined to say that @prepareBuffer@ should have taken @isMultiplyReferenced@ into consideration. Alexandru Lungu
04:35 AM Database Bug #10542: Write trigger called when multiple buffers reference the same record
> Just a heads-up: in FWD, the newly created records are flushed to the database if all indexes are validated (check ... Alexandru Lungu
04:31 AM Database Bug #10542: Write trigger called when multiple buffers reference the same record
> Then in the main buffer I try to load the second record from book4 table. As you can observe the WRITE is not trigg... Alexandru Lungu
03:41 AM Database Bug #9383: Cache only the current delegate on transaction commit if a ProgressiveResults is used
> Moreover, the results can have a boolean variable which dictates in what mode we are currently in. convertBracket()... Alexandru Lungu

09/09/2025

10:25 AM Database Bug #9383: Cache only the current delegate on transaction commit if a ProgressiveResults is used
> If as in your example, the requested row is 1.000.000 and we iterate with brackets of 100 in size, it will take som... Alexandru Lungu
07:22 AM Database Bug #9383: Cache only the current delegate on transaction commit if a ProgressiveResults is used
Review of 9383a:
* @bracket == forcedMaxExponent + 1@ I don't think this is a hard constraint. I think @bracket > ...
Alexandru Lungu
07:28 AM Database Bug #10480: Wrong sort criteria in FOR LAST when index has desc component
Huh, this will be tough. Having it in trunk will affect at least one production customer. We will have a meeting tomo... Alexandru Lungu
07:24 AM Database Bug #10480: Wrong sort criteria in FOR LAST when index has desc component
Got it. Then I think 10380a integration in trunk will be highly dependent upon customer's schedule to update the data... Alexandru Lungu
06:53 AM Database Bug #10480 (Internal Test): Wrong sort criteria in FOR LAST when index has desc component
I am OK with the changes.
> Testing of all customer applications has passed with 10480a.
Did this happen only w...
Alexandru Lungu
07:08 AM Database Feature #6720: lazy hydration
Alexandru Lungu wrote:
> > Well, I don't think lazy hydration really avoids creating BDT objects. Lazy hydration jus...
Alexandru Lungu
07:04 AM Database Feature #6720: lazy hydration
> Well, I don't think lazy hydration really avoids creating BDT objects. Lazy hydration just populates the data array... Alexandru Lungu
04:43 AM Database Bug #10385 (Internal Test): Incorrect reset of the cursor cache in Reposition
* Check javadoc: @If position = -1, this means that a operation was triggered by REPOSITION-BY-ID statement.@ this sh... Alexandru Lungu

09/08/2025

06:59 AM Database Bug #10385: Incorrect reset of the cursor cache in Reposition
Review of 10385a:
* Mind that @cursor.@ is viable is cursor is not null (i.e. the query is scrolling). If the quer...
Alexandru Lungu

09/05/2025

06:26 AM Database Bug #10385: Incorrect reset of the cursor cache in Reposition
> Doesn't DBUtils.trimToTableCount method trim the ids array only when the array size is bigger then query.getTableCo... Alexandru Lungu

09/04/2025

08:48 AM Database Bug #9383: Cache only the current delegate on transaction commit if a ProgressiveResults is used
> Also, since messing up with the size of the session cache is not possible, what if we would detect this one-by-one ... Alexandru Lungu
07:50 AM Database Bug #9383: Cache only the current delegate on transaction commit if a ProgressiveResults is used
> I was wondering, if we save so many records on a transaction commit, couldn't we pick it up from results (as we do ... Alexandru Lungu
08:20 AM Database Bug #10385: Incorrect reset of the cursor cache in Reposition
Review of 10385a:
* Please make the Locator immutable as it will be easier to keep track of its data without being...
Alexandru Lungu
06:13 AM Base Language Bug #10519: ProDataset WRITE-XML issue on nested PARENT-ID-RELATION
There are limitations on how we can assign recid to _temp in FWD. There are changes to properly reclaim ids so that i... Alexandru Lungu

09/03/2025

07:45 AM Database Bug #9383: Cache only the current delegate on transaction commit if a ProgressiveResults is used
PS, the code is:
> dmo.updateState(null, TRACKED, false);
So after committing, the DMOs are *no longer tracked*, ...
Alexandru Lungu
07:42 AM Database Bug #9383: Cache only the current delegate on transaction commit if a ProgressiveResults is used
> By catching all the rows from the current bracket + what the called sub-procedure catches, the next record from the... Alexandru Lungu
06:56 AM Database Bug #10390: FIND FIRST buffer field change does not propagate into the next FIRST FIRST statements.
> In this form, that third FQL statement seems valid to me and is normal to return a record from database, since the ... Alexandru Lungu
04:24 AM Database Feature #10436: Detect Sequential Data Access and Prefetch Records from the Database
> Can it be used to cache records in advance?
This is exactly the point. But @AdaptiveFind@ is used when there is ...
Alexandru Lungu

09/02/2025

04:23 AM Database Bug #10480: Wrong sort criteria in FOR LAST when index has desc component
Review of 10480a:
* I am OK with the technical approach.
* However, there are several places where @SortCriterion...
Alexandru Lungu
03:24 AM Database Bug #10390 (WIP): FIND FIRST buffer field change does not propagate into the next FIRST FIRST sta...
> on processDirtyResults, the useDirtyDMO is already set to true and there are no changes required.
Right; this is...
Alexandru Lungu

09/01/2025

10:00 AM Database Bug #9383: Cache only the current delegate on transaction commit if a ProgressiveResults is used
The issue in #10172 is not that the record is not inside the cache, but rather that its data was not selected. In gen... Alexandru Lungu
05:37 AM Conversion Tools Bug #9917: Fileset not ignoring case
Alexandru Lungu wrote:
> Danut, please merge 9917a to trunk *after 10020a*. There won't be any delivery this week - ...
Alexandru Lungu

08/29/2025

07:01 AM Base Language Feature #9448: compatibility test security features
Lorian, please test this task according to [[regression:Customer_Test_Plan_Tracking]] Alexandru Lungu
06:38 AM Conversion Tools Bug #9917 (Merge Pending): Fileset not ignoring case
Danut, please merge 9917a to trunk *after 10020a*. There won't be any delivery this week - the next scheduled deliver... Alexandru Lungu
05:24 AM Database Bug #10385: Incorrect reset of the cursor cache in Reposition
> Suppose I have in cursor [1432, 1432], cursor is set on the second element. After the execution of loadByValues and... Alexandru Lungu
03:35 AM Database Bug #10385 (WIP): Incorrect reset of the cursor cache in Reposition
> repositionByID is performed only in certain cases, added additional reposition parameter to loadByValues and load m... Alexandru Lungu
04:55 AM Database Bug #10390 (WIP): FIND FIRST buffer field change does not propagate into the next FIRST FIRST sta...
I am not sure the changes in 10390a are right because:
* moving the @if (hasEnteredIteration)@ after means that we...
Alexandru Lungu
03:55 AM Database Bug #10455 (WIP): Persistent table CAN-FIND FIRST issue
Review of 10455a:
* I am very OK with the logic being moved to @BlockManager.functionBlock@.
* I am still not con...
Alexandru Lungu

08/28/2025

06:53 AM Database Bug #10455: Persistent table CAN-FIND FIRST issue
Review of 10455a:
* I would like to defer the review of exception handling to Constantin. To me it looks OK, but I a...
Alexandru Lungu
06:42 AM Database Feature #6720: lazy hydration
> The root cause is the fallback to Loader which causes in retrieving a newer state of the record than we would have ... Alexandru Lungu
06:27 AM Database Bug #10385: Incorrect reset of the cursor cache in Reposition
> Assignee set to Alexandru Lungu
Constantin, shall I pick this up or was it a mistake changing the Assignee?
Alexandru Lungu
06:26 AM Database Bug #10385: Incorrect reset of the cursor cache in Reposition
Eduard,
> 3) qh:get-first() find the record with recid 1432 and updated index field. In Cursor.results is added anot...
Alexandru Lungu
06:13 AM Database Bug #10480: Wrong sort criteria in FOR LAST when index has desc component
> do you remember why in SortCriterion.parse, when adding recid to the sort criteria an asc/desc is gotten from the l... Alexandru Lungu
06:12 AM Database Bug #10480 (Internal Test): Wrong sort criteria in FOR LAST when index has desc component
Is the following a reasonable example to prove the issue (both temporary and persistent tables)?... Alexandru Lungu

08/27/2025

09:12 AM Database Bug #10480: Wrong sort criteria in FOR LAST when index has desc component
> Do you remember why in SortCriterion.parse, when adding recid to the sort criteria an asc/desc is gotten from the l... Alexandru Lungu
07:41 AM Database Bug #10480: Wrong sort criteria in FOR LAST when index has desc component
> Sorry Tomasz, I saw that you made the last change in this area, but the part of the code of interest is pretty old ... Alexandru Lungu
08:44 AM Database Bug #10455 (WIP): Persistent table CAN-FIND FIRST issue
I made some experiments my own and reached the same conclusion as yours. Using function invocations inside the ASSIGN... Alexandru Lungu
07:14 AM Conversion Tools Bug #9917: Fileset not ignoring case
I prefer to defer the merging after customer deliveries happening tomorrow evening. Alexandru Lungu

08/26/2025

06:41 AM Base Language Bug #4766: fix CHR and ASC
> I'm trying to make some (automatized) tests which compares the FWD results (from OUTPUT [STREAM] TO ...) with the o... Alexandru Lungu

08/25/2025

08:28 AM Database Bug #9016 (Internal Test): Improve performance in FQLPreprocessor by using astCache
I am ok with 9016a. Please proceed with testing. Alexandru Lungu
08:16 AM Base Language Bug #10313 (Test): server-sidef file-system must 'mount' user's working dir and look in this path...
Alexandru Lungu
08:08 AM Database Support #10420: Refactoring DMO interface layers
I like #10420-3! I would like to extend upon the Issues section with a question:
* are there limits on Java file/cla...
Alexandru Lungu
06:45 AM Database Feature #10436: Detect Sequential Data Access and Prefetch Records from the Database
> Detect Sequential Data Access and Prefetch Records from the Database
Arthur, can you provide a 4GL code that wou...
Alexandru Lungu
06:38 AM Database Bug #9493: Inline word index CTE for trivial clauses
Stefanel, please describe here the optimization in #10431-12 here. We may want to implement such optimization directl... Alexandru Lungu

08/14/2025

04:54 AM Base Language Bug #10362: FastFindCache.L2Key uses the buffer alias in the FQL
I think #9016 can fix the problem easier. If we use the astCache for the @private FQLPreprocessor(List<RecordBuffer> ... Alexandru Lungu
03:46 AM Database Feature #6720: lazy hydration
> I'm not OK with limiting this implementation to only FOR EACH. Large percentages of application queries would be mi... Alexandru Lungu

08/13/2025

09:47 AM Base Language Bug #10362 (WIP): FastFindCache.L2Key uses the buffer alias in the FQL
I think the solution is quite fragile, considering that @.replace@ can match other tokens that are not the actual ali... Alexandru Lungu
09:31 AM Database Support #10420: Refactoring DMO interface layers
Ovidiu suggested to use @default@ to delegate from the @get@ / @set@ to the super-interface cryptic methods (@get1@, ... Alexandru Lungu
07:04 AM Base Language Bug #8273 (Merge Pending): avoid ErrorConditionException for FIND ... NO-ERROR if no record is found
> Testing completed and passed for:
Love it! Please merge 8273a to trunk now.
Alexandru Lungu
 

Also available in: Atom