mirror of
https://github.com/neondatabase/neon.git
synced 2026-05-19 22:20:37 +00:00
Fix comments
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user