Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbcd1092

Browse files
author
Alexandra Pervushina
committed
Remove debug print
1 parent215ca8e commitbcd1092

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

‎storage.c‎

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1394,7 +1394,6 @@ aqo_data_store(uint64 fs, int fss, OkNNrdata *data, List *reloids)
13941394
if (!found) {
13951395
LWLockAcquire(&aqo_state->neighbours_lock,LW_EXCLUSIVE);
13961396

1397-
elog(NOTICE,"Entering neighbours %d",fss);
13981397
prev= (NeighboursEntry*)hash_search(fss_neighbours,&key.fss,HASH_ENTER,&found);
13991398
if (!found)
14001399
{
@@ -1408,9 +1407,6 @@ aqo_data_store(uint64 fs, int fss, OkNNrdata *data, List *reloids)
14081407
entry->list.prev=prev->data;
14091408
}
14101409
prev->data=entry;
1411-
elog(NOTICE,"Entered neighbours %ld, found %s",prev->fss,found ?"true" :"false");
1412-
prev= (NeighboursEntry*)hash_search(fss_neighbours,&key.fss,HASH_FIND,&found);
1413-
elog(NOTICE,"Entered neighbours check 2 key %ld found %s number of entries %ld",prev->fss,found ?"true" :"false",hash_get_num_entries(fss_neighbours));
14141410

14151411
LWLockRelease(&aqo_state->neighbours_lock);
14161412
}
@@ -1593,7 +1589,6 @@ load_aqo_data(uint64 fs, int fss, OkNNrdata *data, List **reloids,
15931589
LWLockAcquire(&aqo_state->neighbours_lock,LW_EXCLUSIVE);
15941590
neighbour_entry= (NeighboursEntry*)hash_search(fss_neighbours,&fss,HASH_FIND,&found);
15951591
entry=found ?neighbour_entry->data :NULL;
1596-
elog(NOTICE,"load_aqo_data, find %d, found %d",fss,found ?1 :0);
15971592

15981593
while (entry!=NULL)
15991594
{
@@ -1776,18 +1771,15 @@ _aqo_data_clean(uint64 fs)
17761771
/* Fix or remove neighbours htab entry*/
17771772
LWLockAcquire(&aqo_state->neighbours_lock,LW_EXCLUSIVE);
17781773
fss_htab_entry= (NeighboursEntry*)hash_search(fss_neighbours,&entry->key.fss,HASH_FIND,&found);
1779-
elog(NOTICE,"_aqo_data_clean %ld",fss_htab_entry->fss);
17801774
if (found&&fss_htab_entry->data->key.fs==fs)
17811775
{
17821776
if (has_prev)
17831777
{
17841778
fss_htab_entry->data=entry->list.prev;
1785-
elog(NOTICE,"_aqo_data_clean, change %ld",entry->key.fss);
17861779
}
17871780
else
17881781
{
17891782
hash_search(fss_neighbours,&entry->key.fss,HASH_REMOVE,NULL);
1790-
elog(NOTICE,"_aqo_data_clean, find %ld",entry->key.fss);
17911783
}
17921784
}
17931785
LWLockRelease(&aqo_state->neighbours_lock);
@@ -2113,7 +2105,6 @@ _deform_neighbours_record_cb(void *data, size_t size)
21132105
void
21142106
aqo_neighbours_load(void)
21152107
{
2116-
elog(NOTICE,"Loading aqo_neighbours");
21172108
Assert(!LWLockHeldByMe(&aqo_state->neighbours_lock));
21182109

21192110
LWLockAcquire(&aqo_state->neighbours_lock,LW_EXCLUSIVE);
@@ -2154,8 +2145,6 @@ aqo_neighbours_flush(void)
21542145
intret;
21552146
longentries;
21562147

2157-
elog(NOTICE,"Flushing aqo_neighbours");
2158-
21592148
LWLockAcquire(&aqo_state->neighbours_lock,LW_EXCLUSIVE);
21602149

21612150
if (!aqo_state->neighbours_changed)
@@ -2187,11 +2176,8 @@ aqo_neighbours_reset(void)
21872176
LWLockAcquire(&aqo_state->neighbours_lock,LW_EXCLUSIVE);
21882177
num_entries=hash_get_num_entries(fss_neighbours);
21892178
hash_seq_init(&hash_seq,fss_neighbours);
2190-
elog(NOTICE,"fss_neighbours num entries: %ld",num_entries);
21912179
while ((entry=hash_seq_search(&hash_seq))!=NULL)
21922180
{
2193-
elog(NOTICE,"delete %ld",entry->fss);
2194-
21952181
if (hash_search(fss_neighbours,&entry->fss,HASH_REMOVE,NULL)==NULL)
21962182
elog(ERROR,"[AQO] hash table corrupted");
21972183
num_remove++;
@@ -2350,18 +2336,15 @@ cleanup_aqo_database(bool gentle, int *fs_num, int *fss_num)
23502336
/* Fix or remove neighbours htab entry*/
23512337
LWLockAcquire(&aqo_state->neighbours_lock,LW_EXCLUSIVE);
23522338
fss_htab_entry= (NeighboursEntry*)hash_search(fss_neighbours,&key.fss,HASH_FIND,&found);
2353-
elog(NOTICE,"aqo_cleanup, find %ld",key.fss);
23542339
if (found&&fss_htab_entry->data->key.fs==key.fs)
23552340
{
23562341
if (has_prev)
23572342
{
23582343
fss_htab_entry->data=entry->list.prev;
2359-
elog(NOTICE,"aqo_cleanup, change %ld",key.fss);
23602344
}
23612345
else
23622346
{
23632347
hash_search(fss_neighbours,&key.fss,HASH_REMOVE,NULL);
2364-
elog(NOTICE,"aqo_cleanup, remove %ld",key.fss);
23652348
}
23662349
}
23672350
LWLockRelease(&aqo_state->neighbours_lock);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp