Description of problem: Syncing Incremental dumps on disconnected satellites unlinks all the existing packages that are not in the dump to be unlinked. This is because of the cleanup action we usually take to make sure obsoletes removed from hosted channels dont remain in the channel. But this wont work for Incremental dumps. The strict option passed to backend.subscribeToChannel method pretty much enables the cleanup. We should probably just default to not restrict for disconnected satellites in general.
Created attachment 158669 [details] patch to skip package clean up while importing channel dumps
This is scheduled to be released for sat-5.1.0. If this is turning out to be a critical issue and customers are expecting it earlier let me know and I'll to escalate it up for any maintenance release we might have earlier.
good news..\this will be release as a part of 5.0.1 maintenance release, fix committed Transmitting file data .. Committed revision 119206.
testplan: 1. setup a disconnected sat 2. sync a base channel say rhel-i386-4-as 3. now sync an incremental dump for the same.. so say afetr you synced the base you imported ~2k packages and the incremental will have much lesser say 500~ after you sync the incremental it should not remove the ~2k packages synced previously..
The incremental dump sync kept the same amount of packages and did not delete any of the packages that I synced earlier. As a result, it looks like I can no longer reproduce this bug and I'm moving it to VERIFIED as a result.
release pending Summary: Red Hat Enterprise Linux AS (v. 4 for 32-bit x86) Description: Red Hat Enterprise Linux AS (v. 4 for 32-bit x86) Label: rhel-i386-as-4 Last Modified: 2007-08-27 18:27:09 EDT Channel Entitlement Name: Red Hat Enterprise Linux (core server) Parent Channel: (none) Architecture: IA-32 Packages: 4506 Globally Subscribable: All users in your organization may subscribe to this channel. Systems Subscribed: After Errata Incremental sync Summary: Red Hat Enterprise Linux AS (v. 4 for 32-bit x86) Description: Red Hat Enterprise Linux AS (v. 4 for 32-bit x86) Label: rhel-i386-as-4 Last Modified: 2007-08-27 18:37:00 EDT Channel Entitlement Name: Red Hat Enterprise Linux (core server) Parent Channel: (none) Architecture: IA-32 Packages: 4508 Globally Subscribable: All users in your organization may subscribe to this channel. Systems Subscribed: 1