[Bug 64415] Error in slow query report - Comparison method violates its general contract!

2020-05-07 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64415 --- Comment #9 from Christopher Schultz --- Getting down to algorithmic complexity, the TimSort is O(n log n) -- same as merge sort. But again, we don't actually need a completely-sorted array. We just need the oldest N items. If you do a sing

[Bug 64415] Error in slow query report - Comparison method violates its general contract!

2020-05-07 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64415 --- Comment #8 from Christopher Schultz --- The only other solution I can see is to scan the map values looking for the "oldest" one and evict a maximum of one per scan. Make sure not to evict anything which has changed since the beginning of t

[tomcat] branch 7.0.x updated: Increment version number for next development cycle

2020-05-07 Thread violetagg
This is an automated email from the ASF dual-hosted git repository. violetagg pushed a commit to branch 7.0.x in repository https://gitbox.apache.org/repos/asf/tomcat.git The following commit(s) were added to refs/heads/7.0.x by this push: new cde3f95 Increment version number for next deve

[VOTE] Release Apache Tomcat 7.0.104

2020-05-07 Thread Violeta Georgieva
The proposed Apache Tomcat 7.0.104 release is now available for voting. It can be obtained from: https://dist.apache.org/repos/dist/dev/tomcat/tomcat-7/v7.0.104/ The Maven staging repo is: https://repository.apache.org/content/repositories/orgapachetomcat-1268/ The git tag is: https://github.com/a

svn commit: r39324 [2/2] - in /dev/tomcat/tomcat-7/v7.0.104: ./ bin/ bin/embed/ bin/extras/ src/

2020-05-07 Thread violetagg
Added: dev/tomcat/tomcat-7/v7.0.104/bin/extras/tomcat-juli-adapters.jar.sha512 == --- dev/tomcat/tomcat-7/v7.0.104/bin/extras/tomcat-juli-adapters.jar.sha512 (added) +++ dev/tomcat/tomcat-7/v7.0.104/bin/extras/tomcat-juli-

svn commit: r39324 [1/2] - in /dev/tomcat/tomcat-7/v7.0.104: ./ bin/ bin/embed/ bin/extras/ src/

2020-05-07 Thread violetagg
Author: violetagg Date: Thu May 7 20:10:08 2020 New Revision: 39324 Log: Stage Tomcat 7.0.104 Added: dev/tomcat/tomcat-7/v7.0.104/ dev/tomcat/tomcat-7/v7.0.104/KEYS dev/tomcat/tomcat-7/v7.0.104/README.html dev/tomcat/tomcat-7/v7.0.104/RELEASE-NOTES dev/tomcat/tomcat-7/v7.0.10

Nexus: Staging Completed

2020-05-07 Thread Nexus Repository Manager
Message from: https://repository.apache.orgDescription:Close for voting Tomcat 7.0.104Deployer properties:"userAgent" = "maven-artifact/2.2.1 (Java 1.7.0_80; Windows 8.1 6.3)""userId" = "violetagg""ip" = "78.83.99.114"Details:The following artifacts have been staged/org/apache/tomcat/tomcat-i18n-de

[tomcat] tag 7.0.104 created (now 28db826)

2020-05-07 Thread violetagg
This is an automated email from the ASF dual-hosted git repository. violetagg pushed a change to tag 7.0.104 in repository https://gitbox.apache.org/repos/asf/tomcat.git. at 28db826 (commit) This tag includes the following new commits: new 28db826 Tag 7.0.104 The 1 revisions liste

[tomcat] 01/01: Tag 7.0.104

2020-05-07 Thread violetagg
This is an automated email from the ASF dual-hosted git repository. violetagg pushed a commit to tag 7.0.104 in repository https://gitbox.apache.org/repos/asf/tomcat.git commit 28db826c5a92a870a6632d85dae89d4dc3b7af00 Author: Violeta Georgieva AuthorDate: Thu May 7 19:57:05 2020 +0100 Tag 7

[Bug 64415] Error in slow query report - Comparison method violates its general contract!

2020-05-07 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64415 --- Comment #7 from Remy Maucherat --- Almost certain Chris is right given what the verification code in the JVM does. Isn't the solution a bit costly maybe ? -- You are receiving this mail because: You are the assignee for the bug. -

[Bug 64415] Error in slow query report - Comparison method violates its general contract!

2020-05-07 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64415 --- Comment #6 from spiffy2...@hotmail.com --- Here are the jdbc interceptor configurations that we are using for the slow query report. I meant to attach them earlier, but I couldn't find them in our code. SlowQueryReport(threshold=12,maxQ

[Bug 64415] Error in slow query report - Comparison method violates its general contract!

2020-05-07 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64415 --- Comment #5 from Christopher Schultz --- An updated patch which avoids one of the race-conditions identified in the previous patch. Comments welcome. Only compile-tested at this point. diff --git a/modules/jdbc-pool/src/main/java/org/apache

[Bug 64415] Error in slow query report - Comparison method violates its general contract!

2020-05-07 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64415 Mark Thomas changed: What|Removed |Added Component|Util|jdbc-pool Target Milestone|-

[Bug 64415] Error in slow query report - Comparison method violates its general contract!

2020-05-07 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64415 --- Comment #3 from Christopher Schultz --- Here is a patch that has been only compile-tested. It introduces a small class to represent the important information used to make decisions during removeOldest() and creates a (fairly) stable collec

[Bug 64415] Error in slow query report - Comparison method violates its general contract!

2020-05-07 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64415 --- Comment #2 from Christopher Schultz --- Which version of tomcat-pool is in use? I'll bet the problem is that the QueryStats are changing while the slow-query report is running. SlowQueryReport.java:222 is a call to Collections.sort() over

[Bug 64415] Error in slow query report - Comparison method violates its general contract!

2020-05-07 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64415 --- Comment #1 from Michael Osipov --- I have seen this contract violations once in a while too, but where able to reproduce it. -- You are receiving this mail because: You are the assignee for the bug. ---

[Bug 64415] New: Error in slow query report - Comparison method violates its general contract!

2020-05-07 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64415 Bug ID: 64415 Summary: Error in slow query report - Comparison method violates its general contract! Product: Tomcat 9 Version: 9.0.30 Hardware: HP OS: Li

buildbot exception in on tomcat-85-trunk

2020-05-07 Thread buildbot
The Buildbot has detected a build exception on builder tomcat-85-trunk while building tomcat. Full details are available at: https://ci.apache.org/builders/tomcat-85-trunk/builds/2304 Buildbot URL: https://ci.apache.org/ Buildslave for this Build: asf946_ubuntu Build Reason: The AnyBranchSc

buildbot exception in on tomcat-9-trunk

2020-05-07 Thread buildbot
The Buildbot has detected a build exception on builder tomcat-9-trunk while building tomcat. Full details are available at: https://ci.apache.org/builders/tomcat-9-trunk/builds/227 Buildbot URL: https://ci.apache.org/ Buildslave for this Build: asf946_ubuntu Build Reason: The AnyBranchSched

[tomcat] branch 7.0.x updated: Fix typos

2020-05-07 Thread violetagg
This is an automated email from the ASF dual-hosted git repository. violetagg pushed a commit to branch 7.0.x in repository https://gitbox.apache.org/repos/asf/tomcat.git The following commit(s) were added to refs/heads/7.0.x by this push: new f220563 Fix typos f220563 is described below

buildbot exception in on tomcat-trunk

2020-05-07 Thread buildbot
The Buildbot has detected a build exception on builder tomcat-trunk while building tomcat. Full details are available at: https://ci.apache.org/builders/tomcat-trunk/builds/5177 Buildbot URL: https://ci.apache.org/ Buildslave for this Build: asf946_ubuntu Build Reason: The AnyBranchSchedule

[tomcat] branch 8.5.x updated: Fix typos

2020-05-07 Thread violetagg
This is an automated email from the ASF dual-hosted git repository. violetagg pushed a commit to branch 8.5.x in repository https://gitbox.apache.org/repos/asf/tomcat.git The following commit(s) were added to refs/heads/8.5.x by this push: new c292385 Fix typos c292385 is described below

[tomcat] branch 9.0.x updated: Fix typos

2020-05-07 Thread violetagg
This is an automated email from the ASF dual-hosted git repository. violetagg pushed a commit to branch 9.0.x in repository https://gitbox.apache.org/repos/asf/tomcat.git The following commit(s) were added to refs/heads/9.0.x by this push: new 12a1cb7 Fix typos 12a1cb7 is described below

[tomcat] branch master updated: Fix typos

2020-05-07 Thread violetagg
This is an automated email from the ASF dual-hosted git repository. violetagg pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/tomcat.git The following commit(s) were added to refs/heads/master by this push: new 7260ad6 Fix typos 7260ad6 is described below

Tag Tomcat 7

2020-05-07 Thread Violeta Georgieva
Hi, I'm going to prepare Tomcat 7 for a release/vote later today. Please reply here if you need more time for additional fixes. Thanks, Violeta