Changeset: 3bb67b991754 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/3bb67b991754 Modified Files: gdk/gdk_bbp.c Branch: strheapvacuum Log Message:
merge default diffs (truncated from 3702 to 300 lines): diff --git a/.hgtags b/.hgtags --- a/.hgtags +++ b/.hgtags @@ -811,3 +811,8 @@ 404cb13ad1bc3469bfaf5b7696a4d2cfe5ce71f4 9ab0adea978c184d895ca445792a79f26cb9d075 Jul2021_5 404cb13ad1bc3469bfaf5b7696a4d2cfe5ce71f4 Jul2021_release 9ab0adea978c184d895ca445792a79f26cb9d075 Jul2021_release +ceade625915329a9697b5009470ce0251a5e2244 Jul2021_7 +ceade625915329a9697b5009470ce0251a5e2244 Jul2021_SP1_release +4b353b1f914e3c9c7493117284f9cc06677e4c71 Jul2021_9 +ceade625915329a9697b5009470ce0251a5e2244 Jul2021_SP1_release +4b353b1f914e3c9c7493117284f9cc06677e4c71 Jul2021_SP1_release diff --git a/CMakeLists.txt b/CMakeLists.txt --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -92,10 +92,14 @@ monetdb_configure_misc() # Some custom target will need these setting. include(monetdb-custom-targets) -SET(CMAKE_SKIP_BUILD_RPATH FALSE) -SET(CMAKE_BUILD_WITH_INSTALL_RPATH FALSE) -SET(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_FULL_LIBDIR};${CMAKE_INSTALL_FULL_LIBDIR}/monetdb5") -SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE) +if(NOT ${CMAKE_INSTALL_PREFIX} STREQUAL "/usr") + SET(CMAKE_SKIP_BUILD_RPATH FALSE) + SET(CMAKE_BUILD_WITH_INSTALL_RPATH FALSE) + SET(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_FULL_LIBDIR}") + SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE) +#else() +# SET(CMAKE_SKIP_RPATH TRUE) +endif() # required for some instalation files set(PROGRAM_PERMISSIONS_DEFAULT diff --git a/MonetDB.spec b/MonetDB.spec --- a/MonetDB.spec +++ b/MonetDB.spec @@ -84,7 +84,7 @@ Group: Applications/Databases License: MPLv2.0 URL: https://www.monetdb.org/ BugURL: https://bugs.monetdb.org/ -Source: https://www.monetdb.org/downloads/sources/Jul2021/%{name}-%{version}.tar.bz2 +Source: https://www.monetdb.org/downloads/sources/Jul2021-SP1/%{name}-%{version}.tar.bz2 # The Fedora packaging document says we need systemd-rpm-macros for # the _unitdir and _tmpfilesdir macros to exist; however on RHEL 7 @@ -843,6 +843,64 @@ else fi %changelog +* Tue Sep 28 2021 Sjoerd Mullender <sjo...@acm.org> - 11.41.9-20210928 +- Rebuilt. + +* Mon Sep 27 2021 Sjoerd Mullender <sjo...@acm.org> - 11.41.7-20210927 +- Rebuilt. +- GH#7140: SQL Query Plan Non Optimal with View +- GH#7162: Extend sys.var_values table +- GH#7165: `JOINIDX: missing '.'` when running distributed join query on + merged remote tables +- GH#7172: Unexpected query result with merge tables +- GH#7173: If truncate is in transaction then after restart of MonetDB the + table is empty +- GH#7178: Remote Table Throws Error - createExceptionInternal: !ERROR: + SQLException:RAstatement2:42000!The number of projections don't match + between the generated plan and the expected one: 1 != 1200 + +* Wed Sep 22 2021 Sjoerd Mullender <sjo...@acm.org> - 11.41.7-20210927 +- gdk: Some deadlock and race condition issues were fixed. +- gdk: Handling of the list of free bats has been improved, leading to less + thread contention. +- gdk: A problem was fixed where the server wouldn't start with a message from + BBPcheckbats about files being too small. The issue was not that the + file was too small, but that BBPcheckbats was looking at the wrong file. +- gdk: An issue was fixed where a "short read" error was produced when memory + was getting tight. + +* Wed Sep 22 2021 Sjoerd Mullender <sjo...@acm.org> - 11.41.7-20210927 +- sql: If the server has been idle for a while with no active clients, the + write-ahead log is now rotated. +- sql: A problem was fixed where files belonging to bats that had been deleted + internally were not cleaned up, leading to a growing database (dbfarm) + directory. +- sql: A leak was fixed where extra bats were created but never cleaned up, + each taking up several kilobytes of memory. + +* Tue Aug 17 2021 Ying Zhang <y.zh...@cwi.nl> - 11.41.7-20210927 +- sql: [This feature was already released in Jul2021 (11.41.5), but the ChangeLog was missing] + Grant indirect privileges. With "GRANT SELECT ON <my_view> TO + <another_user>" and "GRANT EXECUTE ON FUNCTION <my_func> TO + <another_user>", one can grant access to "my_view" and "my_func" + to another user who does not have access to the underlying database + objects (e.g. tables, views) used in "my_view" and "my_func". The + grantee will only be able to access data revealed by "my_view" or + conduct operations provided by "my_func". + +* Mon Aug 16 2021 Sjoerd Mullender <sjo...@acm.org> - 11.41.7-20210927 +- sql: Improved error reporting in COPY INTO by giving the line number + (starting with one) for the row in which an error was found. In + particular, the sys.rejects() table now lists the line number of the + CSV file on which the record started in which an error was found. + +* Wed Aug 11 2021 Sjoerd Mullender <sjo...@acm.org> - 11.41.7-20210927 +- gdk: When appending to a string bat, we made an optimization where the string + heap was sometimes copied completely to avoid having to insert strings + individually. This copying was still done too eagerly, so now the + string heap is copied less frequently. In particular, when appending + to an empty bat, the string heap is now not always copied whole. + * Tue Aug 03 2021 Sjoerd Mullender <sjo...@acm.org> - 11.41.5-20210803 - Rebuilt. - GH#7161: fix priority diff --git a/cmake/monetdb-versions.cmake b/cmake/monetdb-versions.cmake --- a/cmake/monetdb-versions.cmake +++ b/cmake/monetdb-versions.cmake @@ -53,34 +53,34 @@ set(MONETDB_VERSION "${MONETDB_VERSION_M # common/options and common/utils) set(GDK_VERSION_CURRENT "23") set(GDK_VERSION_MINOR "0") -set(GDK_VERSION_PATCH "2") +set(GDK_VERSION_PATCH "3") math(EXPR GDK_VERSION_MAJOR "${GDK_VERSION_CURRENT} - ${GDK_VERSION_MINOR}") set(GDK_VERSION "${GDK_VERSION_MAJOR}.${GDK_VERSION_MINOR}.${GDK_VERSION_PATCH}") # version of the MAPI library (subdirectory clients/mapilib) set(MAPI_VERSION_CURRENT "13") set(MAPI_VERSION_MINOR "0") -set(MAPI_VERSION_PATCH "0") +set(MAPI_VERSION_PATCH "1") math(EXPR MAPI_VERSION_MAJOR "${MAPI_VERSION_CURRENT} - ${MAPI_VERSION_MINOR}") set(MAPI_VERSION "${MAPI_VERSION_MAJOR}.${MAPI_VERSION_MINOR}.${MAPI_VERSION_PATCH}") # version of the MONETDB5 library (subdirectory monetdb5, not including extras or sql) set(MONETDB5_VERSION_CURRENT "31") set(MONETDB5_VERSION_MINOR "0") -set(MONETDB5_VERSION_PATCH "2") +set(MONETDB5_VERSION_PATCH "3") math(EXPR MONETDB5_VERSION_MAJOR "${MONETDB5_VERSION_CURRENT} - ${MONETDB5_VERSION_MINOR}") set(MONETDB5_VERSION "${MONETDB5_VERSION_MAJOR}.${MONETDB5_VERSION_MINOR}.${MONETDB5_VERSION_PATCH}") # version of the MONETDBE library (subdirectory tools/monetdbe) set(MONETDBE_VERSION_CURRENT "2") set(MONETDBE_VERSION_MINOR "0") -set(MONETDBE_VERSION_PATCH "0") +set(MONETDBE_VERSION_PATCH "1") math(EXPR MONETDBE_VERSION_MAJOR "${MONETDBE_VERSION_CURRENT} - ${MONETDBE_VERSION_MINOR}") set(MONETDBE_VERSION "${MONETDBE_VERSION_MAJOR}.${MONETDBE_VERSION_MINOR}.${MONETDBE_VERSION_PATCH}") # version of the STREAM library (subdirectory common/stream) set(STREAM_VERSION_CURRENT "15") set(STREAM_VERSION_MINOR "0") -set(STREAM_VERSION_PATCH "0") +set(STREAM_VERSION_PATCH "1") math(EXPR STREAM_VERSION_MAJOR "${STREAM_VERSION_CURRENT} - ${STREAM_VERSION_MINOR}") set(STREAM_VERSION "${STREAM_VERSION_MAJOR}.${STREAM_VERSION_MINOR}.${STREAM_VERSION_PATCH}") diff --git a/debian/changelog b/debian/changelog --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,82 @@ +monetdb (11.41.9) unstable; urgency=low + + * Rebuilt. + + -- Sjoerd Mullender <sjo...@acm.org> Tue, 28 Sep 2021 09:29:10 +0200 + +monetdb (11.41.7) unstable; urgency=low + + * Rebuilt. + * GH#7140: SQL Query Plan Non Optimal with View + * GH#7162: Extend sys.var_values table + * GH#7165: `JOINIDX: missing '.'` when running distributed join query on + merged remote tables + * GH#7172: Unexpected query result with merge tables + * GH#7173: If truncate is in transaction then after restart of MonetDB the + table is empty + * GH#7178: Remote Table Throws Error - createExceptionInternal: !ERROR: + SQLException:RAstatement2:42000!The number of projections don't match + between the generated plan and the expected one: 1 != 1200 + + -- Sjoerd Mullender <sjo...@acm.org> Mon, 27 Sep 2021 11:24:40 +0200 + +monetdb (11.41.7) unstable; urgency=low + + * gdk: Some deadlock and race condition issues were fixed. + * gdk: Handling of the list of free bats has been improved, leading to less + thread contention. + * gdk: A problem was fixed where the server wouldn't start with a message from + BBPcheckbats about files being too small. The issue was not that the + file was too small, but that BBPcheckbats was looking at the wrong file. + * gdk: An issue was fixed where a "short read" error was produced when memory + was getting tight. + + -- Sjoerd Mullender <sjo...@acm.org> Wed, 22 Sep 2021 11:24:40 +0200 + +monetdb (11.41.7) unstable; urgency=low + + * sql: If the server has been idle for a while with no active clients, the + write-ahead log is now rotated. + * sql: A problem was fixed where files belonging to bats that had been deleted + internally were not cleaned up, leading to a growing database (dbfarm) + directory. + * sql: A leak was fixed where extra bats were created but never cleaned up, + each taking up several kilobytes of memory. + + -- Sjoerd Mullender <sjo...@acm.org> Wed, 22 Sep 2021 11:24:40 +0200 + +monetdb (11.41.7) unstable; urgency=low + + * sql: [This feature was already released in Jul2021 (11.41.5), but the ChangeLog was missing] + Grant indirect privileges. With "GRANT SELECT ON <my_view> TO + <another_user>" and "GRANT EXECUTE ON FUNCTION <my_func> TO + <another_user>", one can grant access to "my_view" and "my_func" + to another user who does not have access to the underlying database + objects (e.g. tables, views) used in "my_view" and "my_func". The + grantee will only be able to access data revealed by "my_view" or + conduct operations provided by "my_func". + + -- Ying Zhang <y.zh...@cwi.nl> Tue, 17 Aug 2021 11:24:40 +0200 + +monetdb (11.41.7) unstable; urgency=low + + * sql: Improved error reporting in COPY INTO by giving the line number + (starting with one) for the row in which an error was found. In + particular, the sys.rejects() table now lists the line number of the + CSV file on which the record started in which an error was found. + + -- Sjoerd Mullender <sjo...@acm.org> Mon, 16 Aug 2021 11:24:40 +0200 + +monetdb (11.41.7) unstable; urgency=low + + * gdk: When appending to a string bat, we made an optimization where the string + heap was sometimes copied completely to avoid having to insert strings + individually. This copying was still done too eagerly, so now the + string heap is copied less frequently. In particular, when appending + to an empty bat, the string heap is now not always copied whole. + + -- Sjoerd Mullender <sjo...@acm.org> Wed, 11 Aug 2021 11:24:40 +0200 + monetdb (11.41.5) unstable; urgency=low * Rebuilt. diff --git a/debian/control b/debian/control --- a/debian/control +++ b/debian/control @@ -15,7 +15,7 @@ Build-Depends: debhelper (>= 9), cmake ( Standards-Version: 3.8.0 X-Python-Version: >= 2.6 -Package: libmonetdb21 +Package: libmonetdb23 Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Conflicts: libmonetdb5-server-geom (<< ${source:Version}) @@ -34,7 +34,7 @@ Description: MonetDB core library Package: libmonetdb-dev Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, - libmonetdb21, libmonetdb-stream-dev + libmonetdb23, libmonetdb-stream-dev Description: MonetDB development files MonetDB is a database management system that is developed from a main-memory perspective with use of a fully decomposed storage model, diff --git a/debian/libmonetdb21.install b/debian/libmonetdb23.install rename from debian/libmonetdb21.install rename to debian/libmonetdb23.install diff --git a/gdk/ChangeLog-Archive b/gdk/ChangeLog-Archive --- a/gdk/ChangeLog-Archive +++ b/gdk/ChangeLog-Archive @@ -1,6 +1,23 @@ # DO NOT EDIT THIS FILE -- MAINTAINED AUTOMATICALLY # This file contains past ChangeLog entries +* Wed Sep 22 2021 Sjoerd Mullender <sjo...@acm.org> - 11.41.7-20210927 +- Some deadlock and race condition issues were fixed. +- Handling of the list of free bats has been improved, leading to less + thread contention. +- A problem was fixed where the server wouldn't start with a message from + BBPcheckbats about files being too small. The issue was not that the + file was too small, but that BBPcheckbats was looking at the wrong file. +- An issue was fixed where a "short read" error was produced when memory + was getting tight. + +* Wed Aug 11 2021 Sjoerd Mullender <sjo...@acm.org> - 11.41.7-20210927 +- When appending to a string bat, we made an optimization where the string + heap was sometimes copied completely to avoid having to insert strings + individually. This copying was still done too eagerly, so now the + string heap is copied less frequently. In particular, when appending + to an empty bat, the string heap is now not always copied whole. + * Tue Aug 3 2021 Sjoerd Mullender <sjo...@acm.org> - 11.41.5-20210803 - A bug in the grouping code has been fixed. diff --git a/gdk/ChangeLog.Jul2021 b/gdk/ChangeLog.Jul2021 --- a/gdk/ChangeLog.Jul2021 +++ b/gdk/ChangeLog.Jul2021 @@ -1,20 +1,3 @@ # ChangeLog file for GDK # This file is updated with Maddlog -* Wed Sep 22 2021 Sjoerd Mullender <sjo...@acm.org> -- Some deadlock and race condition issues were fixed. _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list