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

feature/traplog-remove #1785

Merged
merged 2 commits into from
Jan 16, 2017

Conversation

jrouzierinverse
Copy link
Member

@jrouzierinverse jrouzierinverse commented Oct 20, 2016

Description

Remove the traplog table

Impacts

pfsetvlan

Issue

Fixes #367

NEWS file entries

Delete branch after merge

NO

Upgrade file entries

The traplog table is now deprecated.
If wish to reclaim the space in the database.
The table should be manually removed.


use strict;
use warnings;
use RRDs;
Copy link
Member

Choose a reason for hiding this comment

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

MAybe we can remove this dep

@fdurand
Copy link
Member

fdurand commented Oct 29, 2016

upgrade-x-y-z -> drop table traplog;

@jrouzierinverse
Copy link
Member Author

I thought that may not be the best thing to do.

I was going to suggest to add a note in the upgrade guide about removing it.

James Rouzier
jrouzier@inverse.ca :: +1.514.447.4918 (x115) :: http://www.inverse.ca
Inverse inc. :: Leaders behind SOGo (http://www.sogo.nu) and PacketFence (http://www.packetfence.org)

On 2016-10-28 8:24 PM, Durand wrote:

upgrade-x-y-z -> drop table traplog;


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#1785 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACmeMdDU8v8mcoqIihhhnahiTzvypwxzks5q4pIjgaJpZM4Kca65.

@extrafu extrafu added this to the PacketFence-6.5 milestone Nov 1, 2016
@julsemaan
Copy link
Collaborator

I think I'd agree with James on the drop. Some old mature environments might want to keep it.

If we do drop it in the upgrade script, we should add a note in the upgrade guide about it so people can backup the table before it gets deleted

@fdurand
Copy link
Member

fdurand commented Dec 23, 2016

Rebase please

@jrouzierinverse
Copy link
Member Author

Done

@louismunro
Copy link
Contributor

Please add the note to the UPGRADE about this being deprecated.
That seems to be all that's missing to merge.

@jrouzierinverse
Copy link
Member Author

Done

@louismunro
Copy link
Contributor

I believe you must push the commit too...
😁

@jrouzierinverse
Copy link
Member Author

Sorry which direction are we going.

  • Deleting the traplog warning the users that they should back it up.
  • Let it be and let the user remove it manually.

@jrouzierinverse
Copy link
Member Author

Done

@louismunro louismunro merged commit 7b3fed2 into inverse-inc:devel Jan 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants