Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 2.8.0 #4653

Merged
merged 1 commit into from Aug 31, 2022
Merged

Release 2.8.0 #4653

merged 1 commit into from Aug 31, 2022

Conversation

svenklemm
Copy link
Member

@svenklemm svenklemm commented Aug 25, 2022

This release adds major new features since the 2.7.2 release.
We deem it moderate priority for upgrading.

This release includes these noteworthy features:

  • time_bucket now supports bucketing by month, year and timezone
  • Improve performance of bulk SELECT and COPY for distributed hypertables
  • 1 step CAgg policy management
  • Migrate Continuous Aggregates to the new format

Features

Bugfixes

Thanks

  • @AlmiS for reporting error on get_partition_hash executed inside an IMMUTABLE function
  • @Creatation for reporting an issue with renaming hypertables
  • @janko for reporting an issue when adding bool column with default value to compressed hypertable
  • @jayadevanm for reporting error of TRUNCATE TABLE on compressed chunk
  • @michaelkitson for reporting permission errors using default privileges on Continuous Aggregates
  • @mwahlhuetter for reporting error in joins in RETURNING clause
  • @ninjaltd and @mrksngl for reporting a potential OOM when loading large data sets into a hypertable
  • @PBudmark for reporting an issue with dump_meta_data.sql on Windows
  • @ssmoss for reporting an issue with time_bucket_ng origin handling

@svenklemm svenklemm self-assigned this Aug 25, 2022
@svenklemm svenklemm added this to the TimescaleDB 2.8 milestone Aug 25, 2022
@svenklemm svenklemm requested a review from jfjoly August 25, 2022 16:39
@codecov
Copy link

codecov bot commented Aug 25, 2022

Codecov Report

Merging #4653 (8be3214) into main (3acfbd0) will increase coverage by 0.04%.
The diff coverage is 96.96%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #4653      +/-   ##
==========================================
+ Coverage   90.76%   90.80%   +0.04%     
==========================================
  Files         224      224              
  Lines       41971    42273     +302     
==========================================
+ Hits        38095    38388     +293     
- Misses       3876     3885       +9     
Impacted Files Coverage Δ
src/chunk.h 100.00% <ø> (ø)
src/compat/compat.h 95.12% <ø> (ø)
src/planner/expand_hypertable.c 93.96% <ø> (ø)
src/ts_catalog/catalog.h 100.00% <ø> (ø)
tsl/src/init.c 95.45% <ø> (ø)
src/cross_module_fn.c 67.44% <40.00%> (-0.44%) ⬇️
src/func_cache.c 90.00% <83.33%> (-0.43%) ⬇️
src/ts_catalog/continuous_agg.c 95.34% <90.00%> (-0.42%) ⬇️
src/hypertable.c 86.83% <94.73%> (+0.29%) ⬆️
tsl/src/continuous_aggs/create.c 88.98% <98.11%> (+0.28%) ⬆️
... and 30 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ae6773f...8be3214. Read the comment docs.

Copy link
Member

@akuzm akuzm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we mention the OSM stuff in the bugfixes area? I'd say no.

Also there is a lot of stuff that is not a feature in the features section. E.g. "Using copy protocol in row-by-row fetcher", this is not in user terms and not a feature, I would mention it in the Improvements section as "Performance of bulk SELECT and COPY is improved for distributed hypertables", and this would include the "non-blocking connections for COPY".

@svenklemm svenklemm force-pushed the release_2.8.0 branch 4 times, most recently from ab4a32e to e1fe4ed Compare August 26, 2022 09:37
@svenklemm
Copy link
Member Author

i'll doublecheck with gayathri regarding osm stuff

@gayyappan
Copy link
Contributor

i'll doublecheck with gayathri regarding osm stuff

Yes, I think these are internal changes and we don't have to mention those.

CHANGELOG.md Outdated Show resolved Hide resolved
@fabriziomello
Copy link
Contributor

@svenklemm the Old CAggs Migration stuff is missing #4552

@svenklemm svenklemm force-pushed the release_2.8.0 branch 4 times, most recently from 84d9ec5 to 4d7af52 Compare August 31, 2022 07:22
This release adds major new features since the 2.7.2 release.
We deem it moderate priority for upgrading.

This release includes these noteworthy features:

* time_bucket now supports bucketing by month, year and timezone
* Improve performance of bulk SELECT and COPY for distributed hypertables
* 1 step CAgg policy management
* Migrate Continuous Aggregates to the new format

**Features**
* timescale#4188 Use COPY protocol in row-by-row fetcher
* timescale#4307 Mark partialize_agg as parallel safe
* timescale#4380 Enable chunk exclusion for space dimensions in UPDATE/DELETE
* timescale#4384 Add schedule_interval to policies
* timescale#4390 Faster lookup of chunks by point
* timescale#4393 Support intervals with day component when constifying now()
* timescale#4397 Support intervals with month component when constifying now()
* timescale#4405 Support ON CONFLICT ON CONSTRAINT for hypertables
* timescale#4412 Add telemetry about replication
* timescale#4415 Drop remote data when detaching data node
* timescale#4416 Handle TRUNCATE TABLE on chunks
* timescale#4425 Add parameter check_config to alter_job
* timescale#4430 Create index on Continuous Aggregates
* timescale#4439 Allow ORDER BY on continuous aggregates
* timescale#4443 Add stateful partition mappings
* timescale#4484 Use non-blocking data node connections for COPY
* timescale#4495 Support add_dimension() with existing data
* timescale#4502 Add chunks to baserel cache on chunk exclusion
* timescale#4545 Add hypertable distributed argument and defaults
* timescale#4552 Migrate Continuous Aggregates to the new format
* timescale#4556 Add runtime exclusion for hypertables
* timescale#4561 Change get_git_commit to return full commit hash
* timescale#4563 1 step CAgg policy management
* timescale#4641 Allow bucketing by month, year, century in time_bucket and time_bucket_gapfill
* timescale#4642 Add timezone support to time_bucket

**Bugfixes**
* timescale#4359 Create composite index on segmentby columns
* timescale#4374 Remove constified now() constraints from plan
* timescale#4416 Handle TRUNCATE TABLE on chunks
* timescale#4478 Synchronize chunk cache sizes
* timescale#4486 Adding boolean column with default value doesn't work on compressed table
* timescale#4512 Fix unaligned pointer access
* timescale#4519 Throw better error message on incompatible row fetcher settings
* timescale#4549 Fix dump_meta_data for windows
* timescale#4553 Fix timescaledb_post_restore GUC handling
* timescale#4573 Load TSL library on compressed_data_out call
* timescale#4575 Fix use of `get_partition_hash` and `get_partition_for_key` inside an IMMUTABLE function
* timescale#4577 Fix segfaults in compression code with corrupt data
* timescale#4580 Handle default privileges on CAggs properly
* timescale#4582 Fix assertion in GRANT .. ON ALL TABLES IN SCHEMA
* timescale#4583 Fix partitioning functions
* timescale#4589 Fix rename for distributed hypertable
* timescale#4601 Reset compression sequence when group resets
* timescale#4611 Fix a potential OOM when loading large data sets into a hypertable
* timescale#4624 Fix heap buffer overflow
* timescale#4627 Fix telemetry initialization
* timescale#4631 Ensure TSL library is loaded on database upgrades
* timescale#4646 Fix time_bucket_ng origin handling
* timescale#4647 Fix the error "SubPlan found with no parent plan" that occurred if using joins in RETURNING clause.

**Thanks**
* @AlmiS for reporting error on `get_partition_hash` executed inside an IMMUTABLE function
* @Creatation for reporting an issue with renaming hypertables
* @janko for reporting an issue when adding bool column with default value to compressed hypertable
* @jayadevanm for reporting error of TRUNCATE TABLE on compressed chunk
* @michaelkitson for reporting permission errors using default privileges on Continuous Aggregates
* @mwahlhuetter for reporting error in joins in RETURNING clause
* @ninjaltd and @mrksngl for reporting a potential OOM when loading large data sets into a hypertable
* @PBudmark for reporting an issue with dump_meta_data.sql on Windows
* @ssmoss for reporting an issue with time_bucket_ng origin handling
@svenklemm svenklemm merged commit f432d7f into timescale:main Aug 31, 2022

* time_bucket now supports bucketing by month, year and timezone
* Improve performance of bulk SELECT and COPY for distributed hypertables
* 1 step CAgg policy management
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would be more explicit about the new functions:

#4563 Experimental functions to facilitate Continuous Aggregates policies management: alter_policies, remove_policies, remove_all_policies, show_policies

* time_bucket now supports bucketing by month, year and timezone
* Improve performance of bulk SELECT and COPY for distributed hypertables
* 1 step CAgg policy management
* Migrate Continuous Aggregates to the new format
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we add the name of the new function introduced to migrate: cagg_migrate_to_finals_form ?

* #4415 Drop remote data when detaching data node
* #4416 Handle TRUNCATE TABLE on chunks
* #4425 Add parameter check_config to alter_job
* #4430 Create index on Continuous Aggregates
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does it impact performances? we may want to highlight this.

@mrksngl
Copy link
Contributor

mrksngl commented Sep 16, 2022

I just wondered what the state of 2.8.0 is. I see that this PR was closed two weeks ago, and the corresponding tag is available on github. So from that perspective, it looks like this is the final 2.8.0 release.

However, there are no release notes about 2.8.0 on https://docs.timescale.com/timescaledb/latest/overview/release-notes/.

Because of this I'm a bit unsure and that keeps me from updating to 2.8.0 ;)

@svenklemm
Copy link
Member Author

Hmm i can see release notes for 2.8.0 on that page.

@svenklemm svenklemm deleted the release_2.8.0 branch September 16, 2022 11:48
@mrksngl
Copy link
Contributor

mrksngl commented Sep 16, 2022

Now that is what I call a caching issue. I had to reload with cold caches to see them.

On the other hand, I am also subscribed to the "Product Updates & Release Notes subscriber list" but did not see an email either. But maybe I was too late with my subscription, as I subscribed on the very same day as 2.8.0 was released.

Thanks anyway!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants