Fix comments

This commit is contained in:
Konstantin Knizhnik
2023-11-29 17:53:31 +02:00
parent 16b0348c1f
commit 2855074f55
2 changed files with 2 additions and 2 deletions

View File

@@ -192,7 +192,7 @@ load_shard_map(shardno_t shard_no, char* connstr)
} while (sep != NULL);
if (i == 0)
elog(ERROR, "No shards were speciified");
elog(ERROR, "No shards were specified");
if (shard_map_changed)
{

View File

@@ -953,7 +953,7 @@ page_server_request(void const *req)
/*
* TODO: temporary workarround - we stream all WAL only to shard 0 so metadata and forks other than main
* TODO: temporary workarround - we stream all WAL only to shard 0, so metadata and forks other than main
* should be requested from shard 0. We still need to call get_shard_no() to check if shard map is up-to-date
*/
if (((NeonRequest *) req)->tag != T_NeonGetPageRequest || ((NeonGetPageRequest *) req)->forknum != MAIN_FORKNUM)