Parabuild does not delete from the DB

A support forum for our flagship product Parabuild CI, a distributed CI/CD platform.
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
hallm4
Posts: 56
Joined: Tue Dec 07, 2010 2:39 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Parabuild does not delete from the DB

Postby hallm4 » Thu Apr 19, 2012 9:38 am

Parabuild does not seem to delete builds in any clean manner.

If I create a build, and take down the build id, and then delete it, I can still query via the API and retrieve all sorts of build information.

All of the following calls return information about a build that was deleted over 48 hours ago. This is why our on disk database is 3GB and growing, nothing is ever really deleted.


my $bid = 191970; # deleted build.

my $bca = $client->getBuildConfigurationAttributes($bid)->result();
my $vcs = $client->getVersionControlSettings($bid)->result();

my $brc = $client->getBuildRunCount($bid)->result();
my $lsbr = $client->getLastSuccessfulBuildRun($bid)->result();

print Dumper $lsbr;

# last buildrunid was 190899 from object $lsbr;
my $brid = 190899;
my $brp = $client->getBuildRunParticipants($brid)->result();

# one of the changelistid's was 176928
my $clid = 176928;
my $changes = $client->getChanges($clid)->result();

print Dumper $changes;

support
Posts: 393
Joined: Mon Dec 06, 2010 9:22 pm
Location: Mountain View, CA
Contact:

Postby support » Thu Apr 19, 2012 6:42 pm

That's correct. At the very beginning a lot of customers asked for being able to search and access deleted builds. That's why builds are marked as deleted, rather than purged.

Slava

hallm4
Posts: 56
Joined: Tue Dec 07, 2010 2:39 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Postby hallm4 » Fri Apr 20, 2012 9:19 am


support
Posts: 393
Joined: Mon Dec 06, 2010 9:22 pm
Location: Mountain View, CA
Contact:

Postby support » Sun Apr 22, 2012 9:33 pm


hallm4
Posts: 56
Joined: Tue Dec 07, 2010 2:39 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Postby hallm4 » Mon Apr 23, 2012 10:33 am


hallm4
Posts: 56
Joined: Tue Dec 07, 2010 2:39 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Postby hallm4 » Tue Mar 05, 2013 11:01 am


support
Posts: 393
Joined: Mon Dec 06, 2010 9:22 pm
Location: Mountain View, CA
Contact:

Postby support » Tue Mar 12, 2013 6:42 am


hallm4
Posts: 56
Joined: Tue Dec 07, 2010 2:39 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Postby hallm4 » Tue Mar 19, 2013 9:19 am



[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Return to “parabuild.ci.support”

Who is online

Users browsing this forum: No registered users and 2 guests