You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.
mysql > alter table data_bin drop partition pyyyymmdd #select a partition that is not the latest
make sure that the partition is dropped in administratin -> server status
run the centreon-partitioning cron and notice that your partition is not created back
Describe the results you received:
partition is missing
Describe the results you expected:
I expect the cron to, not only create the missing partitions based on the latest one but to create every missing partition. It mustn't create missing partitions that are in the past (it could have some side effects with the data that is in next partition instead of the previously missing one. Perhaps, Maybe, I don't know) Additional information you think important (e.g. issue happens only occasionally):
obviously you're not supposed to drop your partitions, but in some very specific cases (that haven't been yet determinated) you can have your cron that is failing to create the partition. You somewhere have the information that the latest partition is this one but it is not created. So when the cron is running the next day, it doesn't see that the partition is not created and does not try the create it. Resulting in a missing partition.
The text was updated successfully, but these errors were encountered:
@tanguyvda it is impossible to create partition with an "LESS THAN" value older than the last available in the partitions of the table.
Case 1: if the destroyed partition contained data, it is lost
Case 2: if it is a prepared partition for the future, the values will be stored into the next partition due to "LESS THAN" value of the next one.
BUG REPORT INFORMATION
Centreon Web version: 2.8.17
Centreon Engine version: 1.8.1
Centreon Broker version: 3.0.11
OS: centos 6.8
Additional environment details (AWS, VirtualBox, physical, etc.):
vmware virtual machine
Steps to reproduce the issue:
mysql > alter table data_bin drop partition pyyyymmdd #select a partition that is not the latest
Describe the results you received:
partition is missing
Describe the results you expected:
I expect the cron to, not only create the missing partitions based on the latest one but to create every missing partition. It mustn't create missing partitions that are in the past (it could have some side effects with the data that is in next partition instead of the previously missing one. Perhaps, Maybe, I don't know)
Additional information you think important (e.g. issue happens only occasionally):
obviously you're not supposed to drop your partitions, but in some very specific cases (that haven't been yet determinated) you can have your cron that is failing to create the partition. You somewhere have the information that the latest partition is this one but it is not created. So when the cron is running the next day, it doesn't see that the partition is not created and does not try the create it. Resulting in a missing partition.
The text was updated successfully, but these errors were encountered: